Current State(Workflow)

Categories

Component ID

1937146

Component name

Current State(Workflow)

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

This module list the workflow state for the content added, as per the user role and the workflow state assigned to that role.

For eg workflow states editor, to be published and published.

eg "Current Workflow State" block will list the node which are in the "to be published" state of workflow, for the user with the role "Publisher" login through the admin section of the site.

Once the block is assigned to the region through the admin section
/admin/structure/block

the workflow role to whom it is access-able needs to be configured using "Show block for specific roles" section
/admin/structure/block/manage/current_state/navigation/configure

Naming convention for the publish state in workflow needs to be configured to below url
/admin/config/workflow/workflow_state

to avoid the display of the published content in the block.

eg if the workflow state for the published content is "Published" this needs to be added
to the Naming convention for the publish state.

The content is displayed in the block for the authenticated user. The block is refreshed through Ajax call after 10 second and list the newly added content, once the workflow state action in taken it is removed from the block for that user and get listed in the next workflow state for other role assign to that state.

If no records are available it will display "Record not found".