Skip to content

Issue on docs #668

@tombeckenham

Description

@tombeckenham

Path: /workflow/troubleshooting/general

You should mention that this problem can easily be caused by workflows with a single parallel operation like:

    const listOfItems = await Promise.all(
      input.inputList.map(async (item, index) => {
        return await context.run(`some-step-${index}`, async () => {
          //  ... do something with the item
          return item;
        });
      })
    );

It took me a long time to work out that if the inputList is empty, the workflow fails with an authentication error. It didn't appear that I was doing anything non-idempotent outside of the workflow steps

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions