Description
Completes the input task. If this is the last task the workflow will continue. Returns back the task document. "Status" is the id of the button the user would have clicked to submit the task form (if the outgoing transitions of the workflow node that created the task have conditions depending on it).
Operation id | Workflow.CompleteTaskOperation |
Category | Workflow Context |
Label | Complete task |
Requires | Workflow |
Since | |
Parameters
Signature
Inputs | document, documents |
Outputs | document, documents |
Implementation Information
JSON Definition
{
"id" : "Workflow.CompleteTaskOperation",
"label" : "Complete task",
"category" : "Workflow Context",
"requires" : "Workflow",
"description" : "Completes the input task. If this is the last task the workflow will continue. Returns back the task document. \"Status\" is the id of the button the user would have clicked to submit the task form (if the outgoing transitions of the workflow node that created the task have conditions depending on it).",
"url" : "Workflow.CompleteTaskOperation",
"signature" : [ "document", "document", "documents", "documents" ],
"params" : [ {
"name" : "comment",
"description" : null,
"type" : "string",
"required" : false,
"widget" : "",
"order" : 0,
"values" : [ ]
}, {
"name" : "status",
"description" : null,
"type" : "string",
"required" : false,
"widget" : "",
"order" : 0,
"values" : [ ]
} ]
}