.NET Framework Class Library
Workflow.WorkflowUpdateState Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > Workflow Class > Workflow Methods >

.NET Framework Class Library
Workflow.WorkflowUpdateState Method

Update the workflow state to the specified one.

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Sub WorkflowUpdateState ( _

 stateName As String, _
 ecoID As String, _
 ParamArray args As Object() _
)

C#

public void WorkflowUpdateState(

 string stateName,
 string ecoID,
 params Object[] args
)

Visual C++

public:

void WorkflowUpdateState(
 StringstateName,
 StringecoID,
 ... array<Object^>^ args
)

JavaScript

function workflowUpdateState(stateNameecoID, ... args);

Parameters

stateName

Type: System.String
name of the state where to jump (special values are: "WORKFLOW_BOF" to jump before the first state (ABORT condition), "WORKFLOW_EOF" to jump after the last state (APPROVED condition)

ecoID

Type: System.String
empty string or the ECO_ID related to passed unique_id list

args

Type: System.Object[]
list of documents unique Ids

Remarks

See Also

Workflow Class

Workflow Members

MwPDMApi Namespace