Add

The Add action adds a value to an array in the State.

The following table shows the parameters for the Add action.

Table 1. Add action parameters
Name Data type Required Notes
path JPath Yes The location of the array. The path must reference an array value.
value String/Number Yes  

XML Example:

This action adds the string "V2hhdCBhIHdvbmRlcmZ1bCB3b3JsZC4uLg==" to the State at location /tokens.

<Add path="/tokens" value="V2hhdCBhIHdvbmRlcmZ1bCB3b3JsZC4uLg==" />