drupal-eca-recipe/eca_lib_0014

Processing sequence

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Type:drupal-recipe

dev-main 2024-08-07 10:59 UTC

This package is auto-updated.

Last update: 2024-11-07 11:35:21 UTC


README

ID: eca_lib_0014

This model comes with 2 processes, that look similar but do behave differently. They get executed by calling drush eca:trigger:custom_event procorder on the console of the Drupal site.

What the 2 processes do is to set a token value, then overwrite that token with a different value and finally print the value out on screen as a message. However, that's what we expect but not what we get. For the first process (the left one), that's what we get. But the second one seems to have a mistake: it doesn't print 12, instead we get the value 5.

This is because the processing order of succeeding actions is not necessarily what we see on screen - where both processes look the same. Instead, the order depends on the order in which the successors got added to the predecessor. The problem being present is, that BPMN, while it relies on that order, doesn't have any form of indicator that would help us to see that in the visual model.

We have recorded a video which discusses that topic alongside this model and demonstrates how to find out about the order os successors. It then also shows how to fix the order in case it got messed up. You can find that by following this link.

Installation

composer require drupal-eca-recipe/eca_lib_0014
cd web && php core/scripts/drupal recipe ../vendor/drupal-eca-recipe/eca_lib_0014