The IWorkflowEngine type exposes the following members.

Methods

  NameDescription
Public methodCompleteState
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.
Public methodCompleteWorkflow
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.
Public methodDiscardState
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.
Public methodDiscardWorkflow
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.
Public methodGetStartedDraftStateUser
This method returns the user that started the workflow for the contentItem.
Public methodGetSubmittedDraftStateUser
This method returns the user that submitted the contentItem.
Public methodIsWorkflowCompleted(Int32)
This method returns true if the workflow associated to the Content Item is completed (it is in the last state)
Public methodIsWorkflowCompleted(ContentItem)
This method returns true if the workflow associated to the Content Item is completed (it is in the last state)
Public methodIsWorkflowOnDraft(Int32)
This method returns true if the workflow associated to the Content Item is in draft (it is in the first state)
Public methodIsWorkflowOnDraft(ContentItem)
This method returns true if the workflow associated to the Content Item is in draft (it is in the first state)
Public methodStartWorkflow
This method starts a workflow for a Content Item

See Also