"set-expiration " sets an expiry period for a state. ❗️ indicates a mandatory parameter - a "dueDate" parameter value must be specified Code Block |
---|
"triggers":
[
{"event": "on-change-state",
"conditions":
[
{"final":true}
],
"actions":
[
{"action": "set-expiration",
"dueDate": "P6M"}
]}
] |
Info |
---|
If adding the JSON trigger using workflow builder there is no need to include the opening "triggers": JSON markup notation, it is added automatically by workflow builder. |
The "dueDate" period is set using ISO 8601 format. For example "P6M3W5D" will be 6 months, 3 weeks and 5 days from the date of transition into the state. This overrides any existing expiration periods. Tip |
---|
An existing expiration period can be removed using the "clear-expiration" action. |
|