Created on 8 January 2025, 13 days ago

In Drupal 7, the Rules module provided the ability to manage workflow transitions with options like "from state to state" (not referring to content moderation states like draft, published, etc.). I’m specifically talking about the Workflow module in this context.

In Drupal 10, I’ve started using ECA, which is a great tool. However, I’m facing an issue: I’m unable to change the workflow status when an entity is updated. Is there a way to achieve this functionality with ECA in Drupal 10? Any guidance would be appreciated!

💬 Support request
Status

Active

Version

2.1

Component

User interface

Created by

🇮🇳India stingo36

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @stingo36
  • 🇷🇺Russia antiden

    Hi,

    Enable:
    1. ECA, ECA Workflow, BPMN.iO for ECA

    Model
    2. Update content entity (Your entity, ex. Content: - any -)
    ->
    3. Entity workflow, for me: Editorial: transition (State: Select what you need)
    ->
    4. Show message (Desired text, ex. "Entity updated with state")

  • 🇮🇳India stingo36

    Hi,

    Thank you for your suggestion and assistance.

    However, when I select "Editorial: Transition" in ECA, it shows options like Draft, Publish, Archives, and so on. What I meant is that when I create a workflow and add states by navigating to /admin/config/workflow/workflow/status/states, I create my states there, I can set transitions as well

    When I submit any content and attempt to change the workflow status by going to the Workflow tab (example, under Assignement to Process), I want to trigger certain functionality (for example, sending an email). How can I configure ECA to trigger such an event when I change the status in the Workflow tab?

    Am Not able to find any action which can help me to check workflow status old status and new status so that based on this i can trigger another functionality.

    Your guidance on this would be greatly appreciated

  • 🇩🇪Germany jurgenhaas Gottmadingen

    Do you want to transition an entity from its current state to a new state? The you may want to look into the Entity workflow Editorial: transition action plugin.

  • 🇩🇪Germany jurgenhaas Gottmadingen
Production build 0.71.5 2024