Click or drag to resize

WorkflowServicesGetTransitionList Method


Retrieves the list of Transitions that are available to all of the Pages specified. Any Pages specified, but not in Workflow, are ignored.

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.5.94
Syntax
public XHRServiceResponseGeneric<WorkflowTransitionsListData> GetTransitionList(
	string pageData
)

Parameters

pageData
Type: SystemString

"|" delimited Page Ids list

Examples
x43|x653|x1543

Return Value

Type: XHRServiceResponseGenericWorkflowTransitionsListData
List of Transitions, that are available to all Pages that are in Workflow.
Examples
Sample JSON return
JavaScript
{
    "code": 0,
    "error": null,
    "message": {
        "transitions": [{
            "name": "Transition5",
            "id": "WorkflowTransition_WorkflowDefinitions\/2_2",
            "assignToGroupOnly": false,
            "defaultUserId": "",
            "disallowDefaultUserOverride": false,
            "externalActions": [],
            "groupId": "UserGroup\/1",
            "groupName": "Administrators",
            "isDefaultTransition": false,
            "onEnterDisplayTime": 0,
            "onEnterHideDlgButtons": false,
            "onEnterPrompt": "",
            "onExistDisplayTime": 0,
            "onExistHideDlgButtons": false,
            "onExistPrompt": "",
            "toolbarIcon": ""
        }]
    }
}
Remarks

Any non-existing Page Ids will cause returing of error status.

If Page are in differnt Workflows, result will be empty array.

If only one Page specified, result will be the Transition available to this Page, or empty if the Page is not in Workflow.

See Also