wfm.StoreWorkflow

This job modifies/saves a workflow model.

1. Input Parameters

Name Type Required Description

UserId

STRING

Yes

ID of the user

WorkflowId

STRING

Yes

ID of the workflow model

OrganisationId

STRING

Yes

ID of the organization

FamilyId

STRING

Yes

ID of the workflow family

Flags

INT

Yes

1 = internal; 2 = external (model imported from outside, a new ID will be generated for the model)

2. Input Files

Name Description

Input File

Path and name of the file with workflow information in XML format

3. Output Parameters

Name Type Dependency Description

WorkflowId

STRING

ID of the workflow

Name

STRING

Name of the workflow

State

INT

Status of the workflow

CreatorId

STRING

ID of the workflow creator

CreationTime

INT

Time of workflow creation

Version

STRING

Version of the workflow

LockId

STRING

ID of the user who locked the workflow

LockName

STRING

Name of the user who locked the workflow

LockTime

INT

Time of workflow lock

Description

STRING

Short description of the workflow

IconId

INT

Icon ID of the workflow model

4. Return Value

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