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.
| Comment | File | Size | Author |
|---|---|---|---|
| workflow_tab.png | 47.26 KB | kukle | |
| edit_tab.png | 51.56 KB | kukle |
Comments
Comment #1
kukle commentedComment #2
kukle commentedComment #3
johnvThe 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.
Comment #4
kukle commentedThanks for your fast answer.
This helped me a lot.