The IWorkflowEngine type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | CompleteState |
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.
|
![]() | CompleteWorkflow |
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.
|
![]() | DiscardState |
This method discard a state moving the workflow backward to the previous state.
If the previous state is not the first one it send notifications to the reviewers of the previous state,
otherwise send the notification to the user that submit the draft in case the workflow is in the draft state.
|
![]() | DiscardWorkflow |
This method discards 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 discard workflow action.
|
![]() | GetStartedDraftStateUser |
This method returns the user that started the workflow for the contentItem.
|
![]() | GetSubmittedDraftStateUser |
This method returns the user that submitted the contentItem.
|
![]() | IsWorkflowCompleted(Int32) |
This method returns true if the workflow associated to the Content Item is completed (it is in the last state)
|
![]() | IsWorkflowCompleted(ContentItem) |
This method returns true if the workflow associated to the Content Item is completed (it is in the last state)
|
![]() | IsWorkflowOnDraft(Int32) |
This method returns true if the workflow associated to the Content Item is in draft (it is in the first state)
|
![]() | IsWorkflowOnDraft(ContentItem) |
This method returns true if the workflow associated to the Content Item is in draft (it is in the first state)
|
![]() | StartWorkflow |
This method starts a workflow for a Content Item
|