WorkflowServicesGetWorkflowData Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<WorkflowDefinitionDesignerInfo> GetWorkflowData( string wfDefId )
Full details of the Workflow Definition
{
"code": 0,
"error": null,
"message": {
"name": "Standard",
"id": "WorkflowDefinitions\/2",
"desc": "",
"tran": [{
"name": "Initial",
"id": "WorkflowTransition_WorkflowDefinitions\/2_1",
"desc": "",
"actions": [],
"allowNextGroupToAdvance": false,
"currentState": "WorkStates\/1",
"defaultUser": "",
"description": "",
"isDefault": false,
"nextGroupName": "UserGroup\/1",
"nextGroupNameStr": "Administrators",
"nextState": "WorkStates\/35"
}, {
"name": "Transition5",
"id": "WorkflowTransition_WorkflowDefinitions\/2_2",
"desc": "",
"actions": [],
"allowNextGroupToAdvance": false,
"currentState": "WorkStates\/35",
"defaultUser": "",
"description": "",
"isDefault": false,
"nextGroupName": "UserGroup\/1",
"nextGroupNameStr": "Administrators",
"nextState": "WorkStates\/37"
}, {
"name": "Transition6",
"id": "WorkflowTransition_WorkflowDefinitions\/2_3",
"desc": "",
"actions": [],
"allowNextGroupToAdvance": false,
"currentState": "WorkStates\/37",
"defaultUser": "",
"description": "",
"isDefault": false,
"nextGroupName": "UserGroup\/1",
"nextGroupNameStr": "Administrators",
"nextState": "WorkStates\/36"
}, {
"name": "Transition7",
"id": "WorkflowTransition_WorkflowDefinitions\/2_4",
"desc": "",
"actions": [],
"allowNextGroupToAdvance": false,
"currentState": "WorkStates\/36",
"defaultUser": "",
"description": "",
"isDefault": false,
"nextGroupName": "UserGroup\/1",
"nextGroupNameStr": "Administrators",
"nextState": "WorkStates\/38"
}]
}
}If Workflow Definition doesn't exist, returns error status.