Click or drag to resize

WorkflowServicesCreateWorkstate Method


Creates a new Workstate. Workstates are stages within a workflow. A Workstate is available to every Workflow Definition.

Namespace:  IngeniuxCMService
Assembly:  IngeniuxCMService (in IngeniuxCMService.dll) Version: 10.3.169
Syntax
public XHRServiceResponseGeneric<WorkstateSimpleInfo> CreateWorkstate(
	WorkstateSimpleInfo data
)

Parameters

data
Type: WorkstateSimpleInfo

Information for the new Workstate to be created

Examples
Sample JSON input
JavaScript
{
    "data": {
        "id": "",
        "name": "Translating",
        "desc": "Translating content to another language",
        "active": true
    }
}

Return Value

Type: XHRServiceResponseGenericWorkstateSimpleInfo

Information of the newly created Workstate.

Remarks

If name is null or empty, returns error status.

If there is another Workstate that has the same name, returns error status.

See Also