How to Access Payload Parameter in IEventPublisher.PublishAsync #6469
bashinamwila
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I am working with Elsa Workflows and trying to access the payload parameter when publishing an event using
IEventPublisher.PublishAsync
. My goal is to retrieve the payload in the workflow when the event is triggered.Here’s my workflow definition:
I am triggering the event with the following code:
Issue:
I want to retrieve myPayload inside my workflow when the "ButtonClicked" event is received. How can I access the payload parameter from IEventPublisher.PublishAsync inside my workflow?
Any guidance or code examples would be greatly appreciated.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions