Created on 31 January 2024, 11 months ago

Is it possible to use the AL for a "dummy field" that could trigger an event in ECA?

e.g. Click Action Link to trigger an ECA Event that would change the value of a term reference field on the entity, via an ECA Task/Action. Ideally, I wouldn't need the overhead of an additional field on the bundle, just use the AL to start the ECA flow. Hope that makes sense.

💬 Support request
Status

Active

Version

1.0

Component

Miscellaneous

Created by

🇺🇸United States eswiderski

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

Comments & Activities

  • Issue created by @eswiderski
  • 🇬🇧United Kingdom joachim

    Yes, you could use an Action Link to trigger an ECA, that's exactly the sort of thing it's for.

  • 🇮🇹Italy kopeboy Milan

    How to?

  • 🇬🇧United Kingdom joachim

    > It would be more straightforward to directly fire an ECA custom event from the action link, so we can specifically react to that in an ECA model, without writing to & reading from the database... Would that be possible?

    Yes, that's what I meant. Sorry, I know very little about how ECA works.

    You'd probably want a State Action plugin which lets you choose which ECA event to fire.

  • 🇬🇧United Kingdom jacobupal Leeds

    I've played around trying to do the above but it's a little bit beyond me... this would be a really useful example/template if anyone is up to it.

  • 🇺🇸United States eswiderski

    I ended up just creating an html button that links to a an ECA Endpoint Response Event url. Works great, no need for other modules.

Production build 0.71.5 2024