WorkflowServicesGetGlobalWorkflowData Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<GlobalWorkflowInfo> GetGlobalWorkflowData( bool definitionsOnly )
Object containg collection of Workflow Definition, and Workstate if specified.
{ "code": 0, "error": null, "message": { "wfDefs": [{ "name": "One Step", "id": "WorkflowDefinitions\/3", "desc": "", "pages": 0 }, { "name": "Standard", "id": "WorkflowDefinitions\/2", "desc": "", "pages": 0 }], "wfStates": [{ "name": "Approving", "id": "WorkStates\/36", "desc": "", "active": false }, { "name": "Authoring", "id": "WorkStates\/35", "desc": "", "active": false }, { "name": "Initial", "id": "WorkStates\/1", "desc": "The initial WorkState of a workflow", "active": true }, { "name": "Publishing", "id": "WorkStates\/38", "desc": "", "active": false }, { "name": "Reviewing", "id": "WorkStates\/37", "desc": "", "active": false }] } }
If "definitesOnly" parameter is true, then "wfStates" field of the return object will be null.