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( int contentItemId ) |
| Visual Basic |
|---|
Function IsWorkflowCompleted ( contentItemId As Integer ) As Boolean |
Parameters
- contentItemId
- Type: System..::..Int32
Content item Id
Return Value
True if the workflow is completed, false otherwise
Remarks
Content Item without workflow is considered as completed as well