I’m looking for your suggestion on DSL workflow design. My challenge is how to pass data into a workflow. Considering there two cases,
Manual activity which will wait for a user input.
It’s not ideal to poll from activity.
aws sqs message listener activity which will listen on a queue, filter message if condition matched then continue to next activity.
Creating a listener in every running workflow to poll message will not work. It makes more sense to have a centralized listener to filter and dispatch message to corresponding workflow instance. Then this activity will basically just wait for a message trigger and consume the message
Since DSL is dynamic and signal is only on workflow level not inside activity, it’s difficult to define signal logic in workflow and send the signal. Can you please advise, thanks in advance.