Human Task in Temporal DSL

Hi,
I am trying to use the DSL feature to configure workflows. Read the java samples and understood the process. But i am not sure how i can model and implement a human task using DSL. Is there any json sample that shows a workflow waiting for a human action and upon receiving it moving to the next state. Can you share sample if any for that using DSL. How to model such state transitions using DSL

Thanks

Hi, sorry late response. Typically in dsl you would model this as an “action” which translates to a Temporal activity, and then and event that you wait on, which would translate into Workflow.await(condition). ServerlessWorkflow dsl has a specific “callback” state which tries to denote this approach and could be useful. Can add this to existing sample, good idea.