I use the the submodule workflow field to set states on my entities. I would like to use the same field (same database table) for different workflows. This would enabled to easier list different node types with different workflows and show there states in views for example. This can be solved by saving the the wid (workflow id) on the field instance instead of the field base. I written a patch that makes my use case work but will probably break some of the other submodules. But it maybe a start...

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

johnv’s picture

Version: 7.x-2.x-dev » 8.x-1.x-dev

Sorry, this will break too many things in this stage of the project. Perhaps in D8.

johnv’s picture

Status: Active » Closed (won't fix)

Let's not do this. We already have a common workflow_history table. In Views, you can select the current_state to select only the newest one.