This method move the state down to 1 position in the workflow state order
Namespace: DotNetNuke.Entities.Content.WorkflowAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
void MoveWorkflowStateDown( int stateId ) |
| Visual Basic |
|---|
Sub MoveWorkflowStateDown ( stateId As Integer ) |
Parameters
- stateId
- Type: System..::..Int32
State Id
Remarks
This method takes care of state reordering.
Exceptions
| Exception | Condition |
|---|---|
| DotNetNuke.Entities.Content.Workflow.Exceptions..::..WorkflowDoesNotExistException | Thrown when moving a state that does not exist |
| DotNetNuke.Entities.Content.Workflow.Exceptions..::..WorkflowInvalidOperationException | Thrown when state cannot be moved (i.e.: is the first/last state, etc...) |