This method completes a state moving the workflow forward to the next state. If the next state is not the last one it send notifications to the reviewers of the next state, otherwise send the notification to the user that submit the draft in case the workflow complete.

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

Syntax

C#
void CompleteState(
	StateTransaction stateTransaction
)
Visual Basic
Sub CompleteState ( 
	stateTransaction As StateTransaction
)

Parameters

stateTransaction
Type: DotNetNuke.Entities.Content.Workflow.Dto..::..StateTransaction
State transaction Dto

Exceptions

ExceptionCondition
DotNetNuke.Entities.Content.Workflow.Exceptions..::..WorkflowConcurrencyExceptionThrown when the current state of the workflow is not the same of the current state specified in the StateTransaction Dto
DotNetNuke.Entities.Content.Workflow.Exceptions..::..WorkflowSecurityExceptionThrown when the user does not have review permission on the current state

See Also