IWorkflowManagerAddWorkState Method
|
Creates a new
Work State.
The name of the new workstate cannot match that of any existing workstates.
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax IWorkState AddWorkState(
string name,
string description
)
Function AddWorkState (
name As String,
description As String
) As IWorkState
IWorkState^ AddWorkState(
String^ name,
String^ description
)
abstract AddWorkState :
name : string *
description : string -> IWorkState
Parameters
- name
- Type: SystemString
Name of the workstate to create; must be unique - description
- Type: SystemString
Description of the new workstate
Return Value
Type:
IWorkStateNewly created workstate.
Exceptions Remarks The workstate instance returned is not yet stored in the content store.
See Also