This method updates a State.

Namespace: DotNetNuke.Entities.Content.Workflow
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
void UpdateWorkflowState(
	WorkflowState state
)
Visual Basic
Sub UpdateWorkflowState ( 
	state As WorkflowState
)

Remarks

This method does not update the Order of the state. Use MoveWorkflowStateDown and MoveWorkflowStateUp for this operation.

Exceptions

ExceptionCondition
DotNetNuke.Entities.Content.Workflow.Exceptions..::..WorkflowDoesNotExistExceptionThrown when updating a state that does not exist
DotNetNuke.Entities.Content.Workflow.Exceptions..::..WorkflowStateNameAlreadyExistsExceptionThrown when already exist a state in the workflow with the same name

See Also