You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In IBM App Connect, this lib is the one we've chosen as the framework for our integration executions. To ensure the fairness and control the workload of our back-end system, we set a maximum running time for each integration/flow.
I couldn't find any easy way to achieve that in this lib. Here is my current workaround:
set the expiry time as a global value in the context of the flow before start running the flow.
each task will first check the expiry time in their execute function, if the flow is expired, the task will call flow.fail(TimeoutError) to terminate the flow.
the error event listener will distinguish this special error and tell the user the flow is timed out.
Do you have a better way of achieving this?
The text was updated successfully, but these errors were encountered:
In IBM App Connect, this lib is the one we've chosen as the framework for our integration executions. To ensure the fairness and control the workload of our back-end system, we set a maximum running time for each integration/flow.
I couldn't find any easy way to achieve that in this lib. Here is my current workaround:
flow.fail(TimeoutError)
to terminate the flow.Do you have a better way of achieving this?
The text was updated successfully, but these errors were encountered: