wfm.GetWorkflowData

This job returns the status information of a workflow model for a workflow ID.

1. Input Parameters

Name Type Required Description

OrganisationId

STRING

Yes

ID of the organization of the workflow model

WorkflowId

STRING

Yes

ID of the workflow model

2. Output Parameters

Name Type Dependency Description

WorkflowId

STRING

ID of the workflow model

WorkflowName

STRING

Name of the workflow model

WorkflowState

INT

Status of the workflow model:
1 = The model is in use, i.e. new processes can be started from it.
2 = The model is locked for processing.
3 = The model is being processed, but not locked.
4 = The model is test released.
5 = The model is deleted but still contained in the DB.
6 = The model is released but not in use. No new processes can be started from this model, but running processes are still completed.

WorkflowCreator

STRING

ID of the creator of the workflow model

WorkflowCreationTime

INT

Creation time of the workflow model

WorkflowVersion

STRING

Version of the workflow model

WorkflowLockId

STRING

ID of the user who locked the workflow model

WorkflowLockName

STRING

Name of the user who locked the workflow model

WorkflowLockTime

INT

Lock time of the workflow model

WorkflowDescription

STRING

Short description of the workflow model

WorkflowIconId

INT

Icon ID of the workflow model

3. Return Value

(INT): 0 = Job successful, otherwise error code.