Genesys Cloud - Main

 View Only
Discussion Thread View
  • 1.  Secure Data Action returns null values in architect, works fine with postman and works fine with data action test as well

    Posted 03-11-2019 08:41

    We have a secure flow and we are using a call secure data action block to call a create session data action. This data action is dually tested with postman and with data action's own test functionality.

    But when we make a phone call to the flow and test it, the output variables have null value (tried to play the resultant variables in flow). We have checked the web services we are calling for

    1. https and operating on 443.

    2. From target web service logs we checked, it received correct inputs from architect and responded within a second with correct values (paymentId and sessionId).

    3. Tried calling the same web service data action from a normal call flow and it did not work either. Result variables (paymentId and sessionId) are always null.

    Any help ?


    #Integrations #Architect




    ​​​
    #Integrations
    #Routing(ACD/IVR)

    ------------------------------
    Cheers,
    Sajid Abbas Malek
    Al-Futtaim Technologies - Dubai
    ------------------------------


  • 2.  RE: Secure Data Action returns null values in architect, works fine with postman and works fine with data action test as well

    Posted 03-13-2019 12:06
    Found solution on the developer forum. Apparently I had a typo in the Success Template which went undetected in the Data Action's test but failed during the call.

    I had raised this to the PureCloud support as well. They have absolutely no idea what is this all about. They are firing random shots and hitting the friendly forces. For instance till now their finding is 'This action is absolutely fine. There is another action (which is actually working :D) failing. Horrible !!

    ------------------------------
    Cheers,
    Sajid Abbas Malek
    Al-Futtaim Technologies - Dubai
    ------------------------------



  • 3.  RE: Secure Data Action returns null values in architect, works fine with postman and works fine with data action test as well

    GENESYS
    Posted 03-14-2019 10:15
    Looking at the screen grab from the test execution of your action, it looks pretty clear that the action was not creating an output, given there was not a response in the section below "action successfully run".  Generally, actions with an output should render the "form" of the output contract with the data that is returned from the action.  That should be a clue that was not operating as expected.

    ------------------------------
    Richard Schott
    Genesys - Employees
    ------------------------------



  • 4.  RE: Secure Data Action returns null values in architect, works fine with postman and works fine with data action test as well

    Posted 03-17-2019 04:28
    Edited by Sajid Abbas 03-17-2019 04:31
    Thanks @Richard Schott for your response.

    I am not sure which screen grab you are referring to. Below is the one I had uploaded to the case about another action which is not causing any problem (Support thinks this one fails). May be you should read the latest 'Email Update' on the case. 



    ------------------------------
    Cheers,
    Sajid Abbas Malek
    Al-Futtaim Technologies - Dubai
    ------------------------------



  • 5.  RE: Secure Data Action returns null values in architect, works fine with postman and works fine with data action test as well
    Best Answer

    GENESYS
    Posted 03-18-2019 09:36
      |   view attached

    Sajid,

    That is the screen shot I was referring to, and it pretty clearly shows that while the action is successfully completing, it is not configured to actually return things through the contract to your call flow or script.  

    Here's a screenshot of an action that returns data through the contract.  In the test UI you can see that we are populating the form of the output contract.  In the screenshot you attached, that section is blank, meaning that the action (as configured) will never return anything to your script or call flow.  



    ------------------------------
    Richard Schott
    Genesys - Employees
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources