SiteDefinitionsLocalizationServicesGetWorkflowDefinition Method |
Namespace: IngeniuxCMService
public XHRServiceResponseGeneric<SiteDefinitionItemLocalizationData> GetWorkflowDefinition( SingleSiteDefitionLocalizationGetInput data )
Workflow Definition information
{ "data": { "id": "WorkflowDefinitions/2", "label": "Workflow Definition Name:" } }
Localization of the given Workflow Definition
{ "code": 0, "error": null, "message": { "children": [{ "name": "WorkflowTransition_WorkflowDefinitions\/2_1", "firstEntry": { "label": "Name:", "original": "Initial", "target": "", "name": "Name" }, "isDone": false, "label": "Initial", "secondEntry": { "label": "Description:", "original": "", "target": "", "name": "Description" } }, { "name": "WorkflowTransition_WorkflowDefinitions\/2_2", "firstEntry": { "label": "Name:", "original": "Transition5", "target": "", "name": "Name" }, "isDone": false, "label": "Transition5", "secondEntry": { "label": "Description:", "original": "", "target": "", "name": "Description" } }, { "name": "WorkflowTransition_WorkflowDefinitions\/2_3", "firstEntry": { "label": "Name:", "original": "Transition6", "target": "", "name": "Name" }, "isDone": false, "label": "Transition6", "secondEntry": { "label": "Description:", "original": "", "target": "", "name": "Description" } }, { "name": "WorkflowTransition_WorkflowDefinitions\/2_4", "firstEntry": { "label": "Name:", "original": "Transition7", "target": "", "name": "Name" }, "isDone": false, "label": "Transition7", "secondEntry": { "label": "Description:", "original": "", "target": "", "name": "Description" } }], "descriptionField": { "label": "Workflow Definition Description:", "original": "", "target": null }, "nameField": { "label": "Workflow Definition Name:", "original": "Standard", "target": null } } }
If Workflow Definition doesn't exist, returns error status
If Localization for Workflow Definition doesn't exist, all the "isDone" field of transition entries are "false"