Skip to main content

Always return step results if needed in subsequent steps.

Because your workflow endpoint is called multiple times, result will be uninitialized when the endpoint is called again to run step-2.

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