Instantiates workflow for the item using specified workflow map.
Namespace:
Aras.IOM
Assembly:
IOM (in IOM.dll) Version: 11.0.0.6296
Syntax
C# |
---|
public Item instantiateWorkflow(
string workflowMapID
) |
Visual Basic (Declaration) |
---|
Public Function instantiateWorkflow ( _
workflowMapID As String _
) As Item |
J# |
---|
public Item instantiateWorkflow(
String workflowMapID
) |
JScript |
---|
public function instantiateWorkflow(
workflowMapID : String
) : Item |
Parameters
- workflowMapID
- Type: System..::.String
ID of a WorkflowMap.
Return Value
Returns a Workflow Process item created by this method or an "error" item.
Remarks
Exceptions
Exception | Condition |
---|
System..::.Exception |
-
The instance doesn't represent a single item.
-
Either 'id' or 'typeId' is not set on the item.
-
The item is a new item not saved in the database yet.
|
System..::.ArgumentException | WorkflowMap ID is either 'null' or empty string. |
See Also