Skip to main content
Version: 4.60

cancelRequest

Cancels a request with a name. This will only guarantee, that the result of the request will be an error. If the request gets already processed by the server, a change on the server side may still occur.

Field Configurations​

KeyTypeDescriptionDefault Value
"params"Objectundefinednull

Parameters​

KeyTypeDescriptionDefault Value
"async"BooleanSpecifies whether the action should perform asynchronously.null
"name"StringThe name of the request to cancel.null

Inherited​

From Base Action

Base Action

Field Configurations

KeyTypeDescriptionDefault Value
"dynamicParams"ObjectDynamic params to retrieve data from a specific context e.g. a userSetting.null
"leadingDelimiter"StringThe leading mustache delimiter to use.null
"params"Object,ArrayObject containing the properties of the action.null
"trailingDelimiter"StringThe trailing mustache delimiter to use.null
"type"StringType name of the action.null

Examples​

Example 1: Cancel a request​

Goal: Create a cancelRequest action canceling a login request.

To achieve this the following code can be used:

{
"type": "cancelRequest",
"params": {
"name": "login"
}
}

The name parameter specifies which request is to be canceled.

Result:

A cancelRequest action has been created.