<aside> 🚨 This feature is in beta, so updates/changes may be coming soon. Reach out to [email protected] to learn more

</aside>

This is one of our most requested features ever, so we're excited to share it with you! Modern Logic now supports calling a workflow from inside a "parent" workflow, allowing you to create distinct modules of logic.

Calling Child Workflow

Within your Parent workflow, click Edit on the top right, and drag out a Call Workflow logic block onto the graph. You can name it whatever you'd like, and then click Save. Click Save on the top right to exit Graph Edit mode.

input.mov.gif

Now select your new Logic Block on the graph. Select your child workflow from the Select Workflow drop down menu. Finally, select the version of the Child workflow you'd like to call, and click Save.

Screen Shot 2021-10-25 at 11.52.57 AM.png

We're now ready to test the workflow call. Click anywhere back on the grey graph background to return to the Versions panel, and then click Test > Individual. Set income on the test customer equal to 7000, and click Test

Screen Shot 2021-10-25 at 12.07.30 PM.png

You'll see the rule from the Child Workflow in the results table, just as if the rule were part of your parent workflow!

Advanced Settings

You can adjust which data fields from your Parent workflow are passed to the Child workflow using the Advanced Settings tab. Fields with the same name (like income from our example here) are automatically matched. However you can put in different variables, or even string / number / boolean values here as you'd like. Remember to click Save when you're done

Screen Shot 2021-10-25 at 12.06.13 PM.png