Skip to main content

Your workflow endpoint will be called multiple times during a workflow run. Therefore:

  • Place your business logic code inside the context.run function for each step
  • Code outside context.run only serves to connect steps

If you are curious about why an endpoint is called multiple times, see how Workflow works.