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