IWorkflowManagerRemoveWorkState Method
|
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax bool RemoveWorkState(
IWorkState workState
)
Function RemoveWorkState (
workState As IWorkState
) As Boolean
bool RemoveWorkState(
IWorkState^ workState
)
abstract RemoveWorkState :
workState : IWorkState -> bool
Parameters
- workState
- Type: Ingeniux.CMSIWorkState
The workstate to remove
Return Value
Type:
BooleanTrue if the workstate exists in collection, false otherwise.
Exceptions Exception | Condition |
---|
InvalidOperationException | When workstate's name is "Initial", or workstate is still being used in transitions of any workflow definitions. |
Remarks
If the workstate's name is "Initial" or the workstate is being used in Transitions of any
Workflow defintions, it cannot be deleted.
See Also