This method returns true if the workflow associated to the Content Item is completed (it is in the last state)
Namespace: DotNetNuke.Entities.Content.WorkflowAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
bool IsWorkflowCompleted( ContentItem contentItem ) |
Visual Basic |
---|
Function IsWorkflowCompleted ( contentItem As ContentItem ) As Boolean |
Parameters
- contentItem
- Type: DotNetNuke.Entities.Content..::..ContentItem
Content item entity
Return Value
True if the workflow is completed, false otherwise
Remarks
Content Item without workflow is considered as completed as well