The IWorkflowManager type exposes the following members.

Methods

  NameDescription
Public methodAddWorkflow
This method adds a new workflow. It automatically add two system states: "Draft" and "Published"
Public methodDeleteWorkflow
This method hard deletes a workflow
Public methodGetWorkflow(Int32)
This method returns a workflow entity by Id
Public methodGetWorkflow(ContentItem)
This method returns a workflow entity by Content Item Id. It returns null if the Content Item is not under workflow.
Public methodGetWorkflows
This method return the list of the Workflows defined for the portal
Public methodGetWorkflowUsage
This method returns the paginated list of Items that are associated with a workflow
Public methodGetWorkflowUsageCount
This method returns the total number of Content Items that are associated with any State of a workflow (even the Published state)
Public methodUpdateWorkflow
this method update a existing workflow.

See Also