Skip to main content
Skip table of contents

Programmatically reset Reponse timeout of a Sequence/Transaction

The response timeout property of a Sequence or a Transaction defines the response maximum waiting time (in seconds).

If you don’t exactly know how long the sequence should last or if it is likely to change a lot or if you want to have more control on it, you can use the following code in your Sequence/Transaction:

var now = new Date().getTime();
context.lastAccessTime = now;

This will reset the timeout value to the actual time.

If you set it to 0 (zero) the request will timeout.

(warning) Be careful with the different values because it can end up with an infinite request execution.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.