State transitions defined for each workflow event
| name | data type | description |
|---|---|---|
| approved | StateTransition | Name of the state that will be automatically set when all approvals are approved |
| rejected | StateTransition | Name of the state that will be automatically set when all approvals are rejected |
| updated | StateTransition | Name of the state that will be automatically set when the page is updated |
| expired | StateTransition | Name of the state that will be automatically set when the state expires |
| submit | StateTransition | Name of the state that will be automatically set when page is submitted |
| completed | StateTransition | Name of the state that will be automatically set when all tasks are completed |
| select | array of StateTransition | List of names of the states available to be selected as the next state |
Example
{
"approved" : {
"state" : "...",
"parameters" : [ {
"id" : "...",
"name" : "...",
"description" : "...",
"type" : "...",
"value" : "...",
"isDefault" : true,
"isFilled" : true,
"options" : [ "...", "..." ]
}, {
"id" : "...",
"name" : "...",
"description" : "...",
"type" : "...",
"value" : "...",
"isDefault" : true,
"isFilled" : true,
"options" : [ "...", "..." ]
} ]
},
"rejected" : {
"state" : "...",
"parameters" : [ {
"id" : "...",
"name" : "...",
"description" : "...",
"type" : "...",
"value" : "...",
"isDefault" : true,
"isFilled" : true,
"options" : [ "...", "..." ]
}, {
"id" : "...",
"name" : "...",
"description" : "...",
"type" : "...",
"value" : "...",
"isDefault" : true,
"isFilled" : true,
"options" : [ "...", "..." ]
} ]
},
"updated" : {
"state" : "...",
"parameters" : [ {
"id" : "...",
"name" : "...",
"description" : "...",
"type" : "...",
"value" : "...",
"isDefault" : true,
"isFilled" : true,
"options" : [ "...", "..." ]
}, {
"id" : "...",
"name" : "...",
"description" : "...",
"type" : "...",
"value" : "...",
"isDefault" : true,
"isFilled" : true,
"options" : [ "...", "..." ]
} ]
},
"expired" : {
"state" : "...",
"parameters" : [ {
"id" : "...",
"name" : "...",
"description" : "...",
"type" : "...",
"value" : "...",
"isDefault" : true,
"isFilled" : true,
"options" : [ "...", "..." ]
}, {
"id" : "...",
"name" : "...",
"description" : "...",
"type" : "...",
"value" : "...",
"isDefault" : true,
"isFilled" : true,
"options" : [ "...", "..." ]
} ]
},
"submit" : {
"state" : "...",
"parameters" : [ {
"id" : "...",
"name" : "...",
"description" : "...",
"type" : "...",
"value" : "...",
"isDefault" : true,
"isFilled" : true,
"options" : [ "...", "..." ]
}, {
"id" : "...",
"name" : "...",
"description" : "...",
"type" : "...",
"value" : "...",
"isDefault" : true,
"isFilled" : true,
"options" : [ "...", "..." ]
} ]
},
"completed" : {
"state" : "...",
"parameters" : [ {
"id" : "...",
"name" : "...",
"description" : "...",
"type" : "...",
"value" : "...",
"isDefault" : true,
"isFilled" : true,
"options" : [ "...", "..." ]
}, {
"id" : "...",
"name" : "...",
"description" : "...",
"type" : "...",
"value" : "...",
"isDefault" : true,
"isFilled" : true,
"options" : [ "...", "..." ]
} ]
},
"select" : [ {
"state" : "...",
"parameters" : [ {
"id" : "...",
"name" : "...",
"description" : "...",
"type" : "...",
"value" : "...",
"isDefault" : true,
"isFilled" : true,
"options" : [ "...", "..." ]
}, {
"id" : "...",
"name" : "...",
"description" : "...",
"type" : "...",
"value" : "...",
"isDefault" : true,
"isFilled" : true,
"options" : [ "...", "..." ]
} ]
}, {
"state" : "...",
"parameters" : [ {
"id" : "...",
"name" : "...",
"description" : "...",
"type" : "...",
"value" : "...",
"isDefault" : true,
"isFilled" : true,
"options" : [ "...", "..." ]
}, {
"id" : "...",
"name" : "...",
"description" : "...",
"type" : "...",
"value" : "...",
"isDefault" : true,
"isFilled" : true,
"options" : [ "...", "..." ]
} ]
} ]
}