XrmToolBox - Child Flow Trigger Updater

Andreas WAndreas W
2 min read

Background

In complex projects, managing multiple flows can become a daunting task, especially when dealing with child flows called by more than one parent flow. Troubleshooting issues in such scenarios can be particularly challenging. A common best practice to mitigate this is to pass the parent flow run URL to the child flow as one of the trigger inputs.

However, developers often forget to add this, and in large projects, addressing this oversight individually can be time-consuming and prone to errors.

Purpose

To simplify this process, I have developed an XrmToolBox plugin that allows bulk update of child flows and the parent flows.

Key Features

  1. Load All Child Flows with Their Respective Parents:

    • The tool allows you to load all child flows along with their respective parent flows from your solution.
  2. Bulk Update Trigger Inputs:

    • The tool adds the trigger to the child flow and pass the parent flow run URLs from the parent flows in bulk.
  3. Support for Complex Flow Structures:

    • The tool supports updating child flows that are also parents of other flows.

    • Additionally, it supports updating parent flows that call the same child flows multiple times, such as in different branching logic scenarios.

  4. Review JSON Content:

    • The tool allows you to review the JSON content of the flow to confirm that changes have been applied correctly.

Whether you're managing a few workflows or overseeing a large-scale project, I hope this tool will save you time by consistently applying this troubleshooting pattern across all your child flows.

Feel free to leave feedback and report issues on the the tool github repository

Hope this helps,

Andreas

0
Subscribe to my newsletter

Read articles from Andreas W directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Andreas W
Andreas W