Skip to content

Latest commit

 

History

History

child-workflows

Child Workflows

This sample shows how to use Child Workflows:

src/workflows.ts

Running this sample

  1. temporal server start-dev to start Temporal Server.
  2. npm install to install dependencies.
  3. npm run start.watch to start the Worker.
  4. In another shell, npm run workflow to run the Workflow.

The Workflow should return:

I am a child named Alice
I am a child named Bob
I am a child named Charlie