We are using Sitecore 9.0.2 along with SXA 1.7.1 We have a workflow in place with these states:
1. Draft (initial state)
2. Approver Approval
3. Publisher Approval (it has Approve and Reject workflow command)
4. Published (Final State)
In Published state we have below:
1. Auto Publish (workflow action)
2. Un-Publish (workflow command)
Once a publisher approves, the item moves to the Published state and it gets published automatically.
In the Published state we have an Un-Publish workflow command to unpublish the item. The Un-Publish button is visible but disabled in the workflow section of the Review tab in the content editor.
When a publisher opens this item in the experience editor, the Un-Publish button is visible and enabled and working fine when they click on it.
Is there a way to enable this button in the Content Editor also?
Permissions are granted to the publisher role for the Un-Publish workflow command, but it still is disabled in CE:
1. Read
2. Workflow State Delete
3. Workflow State Write
4. Workflow Command Execute