Can’t find an answer to this one.
In my plugin I would like to expose a field for an action that a user can populate with a custom workflow event, preferably selected based on the AppType that the corresponding workflow expects (just as the “trigger a custom event”, “trigger a custom event from a reusable element”, and “trigger a custom event when data changes” actions do).
Specifically, I’d like to have my plugin invoke the user selected custom workflow event directly through a plugin action (compared to a plugin element action) so the user doesn’t have to place a plugin element on the canvas, subscribe to its events, pull exposed state from the element, etc.
This is for a command dispatcher/event bus, so requiring the user to do that for each command isn’t feasible or friendly.
Anybody have any idea how to do this? Perhaps something undocumented?
Thanks in advance!