Set Properties

Type: setProperties

This handler lets you set properties onto the items that are part of your workflow's payload.

The config for this handler is as follows:

{
    "properties": [{
        "name": "<property name>",
        "value": <value>
    }]
}

If a non-null value is provided, it is added to the workflow payload item and the item is saved. If the value is set
to null, the property will be removed.

Here is an example where we update the workflow state to "approved". Concurrently, we also removed the
"inprogress" property.

{
    "properties": [{
        "name": "state",
        "value": "approved"
    }, {
        "name": "inprogress",
        "value": null
    }]
}