I have a content type with a checkbox and 2 workflows: national and international.
If checkbox is checked: national workflow is invisible and international workflow is visible
If checkbox is unchecked (default value): national workflow is visible and international workflow is invisible.
As I noticed that both workflows were saved in the db, I created a dummy ('Default') for both workflows.

Now I notice that the tab 'Workflow' (same level as 'Edit', 'Revisions',...) always shows the national workflow, so I can't follow up or change the states of the international workflow this way, only for the national workflow I have this possibilities. Do I miss something, or is this a little bug?

I attached 2 screenshots.

CommentFileSizeAuthor
workflow_tab.png47.26 KBkukle
edit_tab.png51.56 KBkukle

Comments

kukle’s picture

Issue summary: View changes
kukle’s picture

Issue summary: View changes
johnv’s picture

Component: Actions and Triggers » Workflow Field API
Status: Active » Closed (works as designed)

The default Workflow tab is not suitable for your use case (multiple workflows per entity).
Please do the following:
- enable the Workflow Views module
- enable the disabled view 'Workflow Entity History' view. This will overwrite the default list.
- you will find a new View Mode 'Workflow hisory' in Entity maintenance. You can set this according your liking.

kukle’s picture

Thanks for your fast answer.
This helped me a lot.