Please commit this.
Please commit
Thanks Jurgen,
moderation status does not have a token.
https://www.drupal.org/project/drupal/issues/3225851
✨
Add tokens for content moderation state
Needs work
It's not possible for me to create a condition with ECA because of this.
The only (and good) solution is to use differents workflow status events rather than conditions.
I only found out about this great event today :(
Thanks to all!!
Sorry jurgenhaas, the only label not in english is my profile type name from entity profile module:
https://www.drupal.org/project/profile →
Log:
Unconditional Token message: [profile:moderation_state:value] (Activity_0kdue9s) from ECA Rule example Profile update (process_obmxn68) for event Drupal\eca_content\Event\ContentEntityUpdate.
Not asserting condition Flow_0k5i15w for noname from ECA Rule example Profile update (process_obmxn68) for event Drupal\eca_content\Event\ContentEntityUpdate.
Content moderation maybe have not token for this, not only for profile entity.
https://www.drupal.org/project/drupal/issues/3225851
✨
Add tokens for content moderation state
Needs work
In the token list I can't see [entity:moderation_state]
Thanks for your answer. I don't understand where I'm wrong.
It's a very simple rule :O
Screeen 1: the condition doesn't work
Screen 2: [profile:moderation_state:value] token is not recognized in message
ConradFlashback → created an issue.