JavaScript Functions > Alphabetical Listing of Web Functions > web.setMaxRetries

web.setMaxRetries

Sets the maximum number of retries of an action step.

Syntax

web.setMaxRetries( maxRetries );
Property Name
Description
maxRetries
A pointer to the null-terminated string indicating the maximum number of retries. Enter 0 for no retries.

Return Values

Not applicable

Parameterization

The following argument(s) can be parameterized using standard parameterization: maxRetries

General Information

The web.setMaxRetries function sets the maximum number of retries for a Action Functions. When an error occurs, retry is attempted for HTTP response statuses 500-599, and for network API errors (HttpSendRequest and so forth). Retry is not attempted for timeouts or function argument errors.

Example

web.setMaxRetries("5");