Bots can be linked using the bot linking option in the Order Setup of the bot.
- A downstream bot will always run as the last step within the bot
- Only 1 downstream bot can be linked
- You can string multiple bots sequentially. (e.g. Bot 1 runs Bot 2, Bot 2 runs Bot 3, Bot 3 runs Bot 4, etc.)
- To schedule the downstream bot, select the option "Scheduled bot run - Execute from upstream bot” in the bot execution type section
- When an upstream bot has a downstream bot configured:
- The upstream bot calls on the downstream bot to run and does not wait for the downstream bot to complete before the upstream bot completes. Once the downstream bot is called, the upstream bot completes and can run again, regardless of whether the downstream bot completed or not.
- The Run status option when linking bots will determine if the upstream bot’s run status will be marked as Success or Fail if the downstream bot is actively running while an upstream bot tries to run it. By default, the option selected will be Fail which is the behavior if a bot tries to run a job that is actively running.
- The downstream bot’s schedule will automatically change to “Scheduled bot run - Execute from upstream bot” and remove its prior scheduled configuration.
NOTES:
- When assigning a bot to an app, such as a List Load app or as a custom action for a Search and Edit app, only upstream bots can be assigned
- Bot to bot linking is unavailable for API factory bots, regardless of it being an upstream or downstream bot