Genesys Cloud (formerly PureCloud)

Discussion Thread View
Expand all | Collapse all

PureCloud Data Action Timeout

  • 1.  PureCloud Data Action Timeout

    Posted 09-17-2019 15:41
    Hello,

    Would it be possible to extend the Timeout when executing a PureCloud Data Action from a script ? (I noticed that when calling the Data Actions from the IVR, we can change the Timeout)


    Regards,
    #ArchitectureandDesign
    #Integrations
    #Unsure/Other
    #PureCloud QA Episode

    ------------------------------
    Charaf Eddine Chemlal
    Dimension Data France
    ------------------------------


  • 2.  RE: PureCloud Data Action Timeout

    Top 25 Contributor
    Posted 01-12-2020 22:37
    Not when you are running your test, but you can in Architect when you run the data action.  There is a checkbox that allows you to override the timer.  The API times out in 10 sections, but in Architect, it can be 60 sections.

    ------------------------------
    Robert Wakefield-Carl
    Avtex Solutions, LLC
    Contact Center Innovation Architect
    robertwc@avtex.com
    https://www.Avtex.com
    https://RobertWC.Blogspot.com
    ------------------------------



  • 3.  RE: PureCloud Data Action Timeout

    GENESYS
    Posted 01-13-2020 10:09
    Data action executions are currently set to timeout at 20s through the Public API, and 60s through Architect/call flows.  That said, 20s is an eternity when it comes to a REST API call, and it would be greatly discouraged regularly using a web services that takes that long to return a response.  A better pattern would be to leverage an asynchronous API with a combination of data actions, where the first action requests the work and returns a reference number that can be passed to a second data action that requests the results (the second action can be retried multiple times while the Async process is trying to complete the request).

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