Skip to main content
alphar0001
August 13, 2024
Question

Unhandled (in PM ) timeout in an integration + Ways to test timeout

  • August 13, 2024
  • 4 replies
  • 1 view

Hi,

       My process model has an integration call which has a timeout of 1 sec. In My process model , I am not handling the timeout . so what will happen if the timeout happens . Will the flow goes to the next node after the integration node ? 

Also , is there any easy way to simulate timeout from a REST POST API call ? I have set the time for timeout to minimum (1 sec). still the call is succeeding . is there any way to achieve this from Appian objects or the network. I have no access to the rest api code.

Regards,

Mike

4 replies

rajt0005
August 13, 2024

No as per my knowledge that node will stop and will give error ,
but you can increase your timeout if you want to avoid getting timeout error

August 13, 2024
My process model has an integration call which has a timeout of 1 sec.

This is not clear to me. Can you give some details? 

Also, the following might be helpful:

https://docs.appian.com/suite/help/24.2/Automatic_Error_Handling.html

August 14, 2024

you can increase timeout seconds in integration (Max 300).

bhavanai654706
August 14, 2024

If the integration call exceeds the 1-second timeout, the integration node will fail. This failure will typically cause the process to pause by exception, depending on how you've configured the error handling settings in the integration node.

The flow will not automatically proceed to the next node if a timeout occurs unless you've specifically configured the integration node to ignore errors or to handle exceptions (e.g., using a "Skip node" or "Continue process flow"). If the process is paused by exception, you'll need to either manually resume it or have automated error handling in place.

To bypass this flow, you can incorporate an asynchronous subprocess for the integration call. This ensures that the parent process does not wait for the child process to complete, allowing the flow to proceed to the next node even if the integration call exceeds the 1-second timeout.

to test time out error temporarily change the endpoint URL in the integration object to a non-existent or slow-responding URL. This can simulate a delay or failure.you can use Postman or JMeter to simulate delays