Parallel workflow

Events happening in the community are now at Drupal community events on www.drupal.org.
Rahul Seth's picture

As there is no doubt, its a wonderful module in Drupal. But as usual there is always a chance to make change and make things more & more better. For this hope, I'm thinking parallel workflow. and I want to work on this.

Comments

Can you give an example of

johnv's picture

Can you give an example of 'parallel workflow' ?
If you mean '2 workflows on the same entity', you can accomplish this with Workflow 8.x-1.x of 7.x-2.x, by just adding two workflow_fields, each connected to the same or a different workflow.

Example of Parallel workflow

Rahul Seth's picture

Available workflow, there is linear flow. entity transits from one bench to other bench.
But in parallel workflow, there is only one workflow but entity available more than one bench.

Current workflow:-
Entity
B1 ------> B2 ----> B3

Parallel workflow:-

B1 Entity B4
--------> B3 ----------> B5
B2

When setting up the workflow,

johnv's picture

When setting up the workflow, there is the possibility to have multiple choices, or to go back to a previous state.

B1 --> B2
B2 --> B3 or B4 or back to B1
B3 --> B5 --> B6
B4 --> B6

But I guess this is not what you want.
In workflow.api.php of 7.2-2.x aor 8.x-1.x you will find numerous hooks that can help you.

You are right

Rahul Seth's picture

Yep, you are right, this is not what I want. I'm thinking about node is available in two or more bench simultaneously and move parallel in bench according to configuration of workflow.

Workflow

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: