uber / cadence-java-samples

Other
96 stars 60 forks source link

Add child workflow implementation under the new worker config #75

Closed chopincode closed 10 months ago

chopincode commented 10 months ago

To start a parent workflow, try cadence --env development --domain samples-domain workflow start --workflow_type ParentWorkflow::getGreetingInParent --et 60 --tl cadence-samples-worker --input '{"message":"Uber"}'

To start the child workflow in standalone style, try cadence --env development --domain samples-domain workflow start --workflow_type ChildWorkflow::greetInChild --et 60 --tl cadence-samples-worker --input '"Uber"'