WorkflowDoAction
Interface Function
Execute workflow. Only the data in workflow are updated, and the data status in the corresponding document is not updated.
Request Parameter
Parameter | Required | Type | Remarks |
---|---|---|---|
actionCode | true | string | Activate action code in workflow |
dataId | false | string | Null is for using dataId in url. |
args | false | Dictionary<string, string> |
Parameter for activating workflow |
Return Data Type
Call Sample
//
var result=Service.WorkflowDoAction("DemoForm","d7f380d9be4a4fcd985a05d77abe7b7f");
Service.ConsoleLog("ActionResult",result);
Return Sample
{
"Result": true,
"WorkflowInstanceId": 0,
"NextState": "PendingApprove",
"NextStateName": "Draft",
"IsEndState": false,
"NextApprovers": [
"##180913015438400"
],
"NextApproverRoles": [],
"isCurrentStateTransfer": true
}