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.WorkflowAssembly: 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
Exception | Condition |
---|---|
DotNetNuke.Entities.Content.Workflow.Exceptions..::..WorkflowConcurrencyException | Thrown 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..::..WorkflowSecurityException | Thrown when the user does not have review permission on the current state |