Click or drag to resize

WorkflowServicesGetWorkflowData Method


Retrieves the detailed information of a Workflow Definition.

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.169
Syntax
public XHRServiceResponseGeneric<WorkflowDefinitionDesignerInfo> GetWorkflowData(
	string wfDefId
)

Parameters

wfDefId
Type: SystemString
Id of the Workflow Definition

Return Value

Type: XHRServiceResponseGenericWorkflowDefinitionDesignerInfo

Full details of the Workflow Definition

Examples
Sample JSON return
JavaScript
{
    "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"
        }]
    }
}
Remarks

If Workflow Definition doesn't exist, returns error status.

See Also