To change the incident workflow status to Open:
{
"dslSpecVersion": "1.1.0",
"version": "1",
"actionsSpecVersion": "1",
"executionFlow": [
{
"action": {
"function": {
"type": "setIncidentStatus",
"params": {
"typeId": "af9dd279-fc30-4596-963b-942f79920375",
"statusId": "4db36105-5223-4078-b72c-e9e9983b0987"
}
}
}
}
]
}
To change the incident workflow status to Closed:
{
"dslSpecVersion
": "1.1.0",
"version": "1",
"actionsSpecVersion": "1",
"executionFlow": [
{
"action": {
"function": {
"type": "setIncidentStatus
",
"params": {
"statusId": "INCIDENT_STATUS_ID
",
"statusResolution": "truePositive
"
}
}
}
}
]
}
You can also specify the following values for the statusResolution
parameter: falsePositive
and lowPriority
.
To change the incident workflow status to a custom status:
{
"dslSpecVersion
": "1.1.0",
"version": "1",
"actionsSpecVersion": "1",
"executionFlow": [
{
"action": {
"function": {
"type": "setIncidentStatus
",
"params": {
"typeId": "22222222-2222-2222-2222-222222222222
",
"statusId": "11111111-1111-1111-1111-111111111111
"
}
}
}
}
]
}
When you edit an incident workflow status in the playbook algorithm, suggestions are displayed. For convenience, the suggestions contain a search string where you can search by name. If you want to specify an incident workflow status, you can search the corresponding record by the name, and the ID will be specified in the algorithm.