Genesys Cloud - Main

 View Only

Sign Up

  Thread closed by the administrator, not accepting new replies.
  • 1.  Genesys cloud Web service data action

    Posted 02-20-2023 02:06
    Edited by ANITHA ME 02-21-2023 23:11
    No replies, thread closed.

    Hello, I am trying to configure failure output i.e Error code and error message as output response in Genesys cloud webservice. Requesting to provide the solution on the same. 

    Ex: If i pass the wrong input (Invalid Case number) then in response it will show as "Invalid Case number"(error code) and in "message" also. We need to capture these error code and message. 


    #Integrations

    ------------------------------
    ANITHA ME
    Accenture Solutions Private Limited
    ------------------------------



  • 2.  RE: Genesys cloud Web service data action

    Posted 02-21-2023 14:44
    No replies, thread closed.

    If an error occurs, how do you want Genesys Cloud to react?



    ------------------------------
    Maksim Gill
    Eccentex (Customer Service Platform)
    https://www.eccentex.com/genesys
    ------------------------------



  • 3.  RE: Genesys cloud Web service data action

    Posted 02-21-2023 23:17
    No replies, thread closed.

    Hi Maksim,

    I am trying to capture Failure(Ex: invalid claim number, then its saying this claim number not exist) scenario in response. 

    I'm trying to capture it in output response like other output parameters.



    ------------------------------
    ANITHA ME
    Accenture Solutions Private Limited
    ------------------------------



  • 4.  RE: Genesys cloud Web service data action

    Posted 02-21-2023 16:06
    No replies, thread closed.

    Error output is not available in all flow types.  Which flow type are you attempting to use?



    ------------------------------
    Ryan Cheesman
    Senior Manager, IT Integration Services
    Tandem Diabetes Care Inc. | positively different
    ------------------------------



  • 5.  RE: Genesys cloud Web service data action

    Posted 02-21-2023 23:15
    No replies, thread closed.

    Hi Ryan,

    Thanks for responding. 

    I am trying to capture Failure(Ex: invalid claim number, then its saying this claim number not exist) scenario in response. 

    This data action is for inbound call flow.



    ------------------------------
    ANITHA ME
    Accenture Solutions Private Limited
    ------------------------------



  • 6.  RE: Genesys cloud Web service data action

    Posted 02-22-2023 04:27
    Edited by Mohan S 02-22-2023 04:28
    No replies, thread closed.

    Hi,

    Not sure if you have control on the web service. If you have it that will help else you need to create an adaptor.

    As you are already aware inputs and outputs are configured on genesys cloud for data actions and they have a specific schema defined during configuration before using it. So capturing response is driven by schema

    Say your web services has a schema defined in way to return a placeholder for capturing both success and failure then you can get user defined errors returned.

    For example: 

    If web services returns just "result" property alone now will not help. Rather if you have result and additional properties like ErrorCode and ErrorDetails. Then you can have these value set as empty against ErrorCode and ErrorDetails for a successful call and set returned failed responses in case of user defined failure which will meet your expectations i.e. Overall output schema will not change



    ------------------------------
    Mohan
    ------------------------------



  • 7.  RE: Genesys cloud Web service data action

    Posted 02-22-2023 11:03
    Edited by Nebojsa Radovanovic 02-23-2023 09:46
    No replies, thread closed.

    From my tests, inbound and outbound call flows do not offer Failure outputs in the "Call Data Action" action.
    You could use a common module (the failure outputs are present there) ,perform the needed data action/logic, and return to your inbound call flow.

    edit: this won't work, if the common module is entered from a voice flow, no failure outputs would be populated, but if entered from a digital flow, it works...



    ------------------------------
    Nebojsa Radovanovic
    Star Telecom
    www.startelecom.cloud
    https://www.linkedin.com/company/star-telecom-www-startelecom-ca-/
    ------------------------------



  • 8.  RE: Genesys cloud Web service data action

    Posted 06-09-2025 16:36
    No replies, thread closed.

    That's really good to know, thanks!



    ------------------------------
    Warren Smith
    ATB Financial
    Canada
    ------------------------------