Start a new topic
Answered

Timeout on Mapping/Webservice call

A loop repeating X times on a webservice call. Sometime, one of these calls stuck and stay "RUNNING" indefinitely.

Due to this:

- The next scheduled execution doesn't start because previous one is still running. Deleting corresponding line in the log database does not solve this as there is something still "running" at runtime level (no return code received).

- It's impossible to stop it through analytics (right click > "Stop" action).


For now, only solution is to restart the runtime (with a kill command). Also, it happen on different webservices after a variable number of iterations (sometimes 1, sometimes 50). (17.4.2 runtime / S19 Designer)


Best Answer

We can solve this problem by migrating to version S20.0.5 of the designer & the runtime which bring many options/improvements to handle REST APIs particularly at the metadata level.


1) Add timeout at the metadata level:

screenParameters.png


2) An error tolerance as well as a number of "retries" in case of error:

screenParameters2.png

1 Comment

Answer

We can solve this problem by migrating to version S20.0.5 of the designer & the runtime which bring many options/improvements to handle REST APIs particularly at the metadata level.


1) Add timeout at the metadata level:

screenParameters.png


2) An error tolerance as well as a number of "retries" in case of error:

screenParameters2.png

Login to post a comment