How to get the name of an event? #6965
Unanswered
crashkonijn
asked this question in
Q&A
Replies: 1 comment
-
|
Short answer: not directly from In the current event API:
Relevant source:
So I don’t see a built-in If you need to know which event fired, the repo-backed options I can see are:
So your workaround idea is not unnecessary in the current implementation; it is the straightforward way to propagate the event identity to the callback. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
First of all, thanks for making this open source software!
I've been playing around with Elsa and trying to learn how to do certain things.
I'm trying to make a "multi trigger", where you can setup multiple events and based on which one is triggered you continue among different paths.
Based on the FlowSendHttpRequest I've managed to make the following activity:
I just can't figure out how to get the name of the event that was triggered in the
EventReceivedCallbackmethod. Is this possible?I could add an extra input to the event trigger, but that seems like an unnecessary workaround:
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions