samples-java icon indicating copy to clipboard operation
samples-java copied to clipboard

[Feature Request] Add more examples for DSL use case

Open krishnaraman001 opened this issue 4 years ago • 2 comments

Is your feature request related to a problem? Please describe.

please add more DSL related java examples similar to https://github.com/temporalio/samples-java/blob/main/src/main/resources/dsl/customerapplication.yml which covers following actions in a workflow 1)Passing input and getting results from activites 2)Executing child workflows 3)Parallel execution 4)passing results from an activity to another sequential activity

A samle DSL for the below image (2)

Describe the solution you'd like

Please add more examples for "how to write specific DSL code for serverless workflow dsl in java?" please explain " How to use DynamicActivity in java?"

Additional context

Please make a video of "how to write DSL Code for a new serverless workflow DSL in java?" if possible It will be good if we have a generic DSL java Code which will work for any kind of serverless workflow dsl

krishnaraman001 avatar Nov 25 '21 17:11 krishnaraman001

Expanded the current DSL sample to include more features such as looping, parallel exec etc.

tsurdilo avatar Dec 30 '21 21:12 tsurdilo

good idea for a video @tsurdilo

swyxio avatar Jan 16 '22 22:01 swyxio