This method returns true if the workflow associated to the Content Item is in draft (it is in the first state)
Namespace: DotNetNuke.Entities.Content.WorkflowAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
bool IsWorkflowOnDraft( int contentItemId ) |
Visual Basic |
---|
Function IsWorkflowOnDraft ( contentItemId As Integer ) As Boolean |
Parameters
- contentItemId
- Type: System..::..Int32
Content item Id
Return Value
True if the workflow is in draft, false otherwise
Remarks
Content Item without workflow is considered as not in draft