WorkflowServicesGetTransitionList Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<WorkflowTransitionsListData> GetTransitionList( string pageData )
"|" delimited Page Ids list
{ "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": "" }] } }
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.