This method completes the workflow no matter what is the current state.
It also sends a system notification to the user that submit the workflow to let him know about the complete workflow action.
Namespace: DotNetNuke.Entities.Content.WorkflowAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
void CompleteWorkflow( StateTransaction stateTransaction ) |
Visual Basic |
---|
Sub CompleteWorkflow ( stateTransaction As StateTransaction ) |
Parameters
- stateTransaction
- Type: DotNetNuke.Entities.Content.Workflow.Dto..::..StateTransaction
State transaction Dto
Remarks
This method does not check review permission on the current state
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 |