The IWorkflowManager type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AddWorkflow |
This method adds a new workflow. It automatically add two system states: "Draft" and "Published"
| |
| DeleteWorkflow |
This method hard deletes a workflow
| |
| GetWorkflow(Int32) |
This method returns a workflow entity by Id
| |
| GetWorkflow(ContentItem) |
This method returns a workflow entity by Content Item Id. It returns null if the Content Item is not under workflow.
| |
| GetWorkflows |
This method return the list of the Workflows defined for the portal
| |
| GetWorkflowUsage |
This method returns the paginated list of Items that are associated with a workflow
| |
| GetWorkflowUsageCount |
This method returns the total number of Content Items that are associated with any State of a workflow (even the Published state)
| |
| UpdateWorkflow |
this method update a existing workflow.
|