Subflow

Purpose of this building block

Move a sequence of building blocks to a new Ultradox file and execute them as a sub-flow.

0 variables
0 variables

Possible use cases

  • Reuse a sub-flow in different Ultradox files
  • Improve structure and readability of your flow

Configuration

Click on the bold part in the title of the building block to open the configuration dialog.

Copy and paste the key of the Ultradox flow that you want to call. You can get the key by opening the integration dialog (link icon in the mail toolbar) of the Ultradox file that you want to call.

 Reload

Click on reload button if you have changed the input or output parameters of the subflow.

Useful combinations

VAT calculation in a sub-flow

In the main flow a list of customer purchases is compiled. For each purchase the customer's location as well as the net amount is captured.

To determine the country specific vat and thereby the correct gross amount a sub flow is executed.

FORM SUBMISSIONS
customer
buyerCountry
netAmount
buyerCountry
grossAmount
netAmount

In the sub flow first the relevant input variables are defined. The net amount as well as the location is passed to the sub-flow.

From a VAT sheet the country specific VAT rate is extracted.

Using the correct VAT rate the gross amount is calculated and passed as an output variable of the sub flow.

buyerCountry
netAmount
buyerCountry
vat
netAmount
grossAmount
vat

After the sub-flow has been executed the main flow is updating the correct gross amount.

grossAmount
PURCHASE SHEET

Copy the Calculate Vat Subflow app to see this building block in action

Questions and Feedback

If you have any comments on this guide, feel free to add them right to the Google document that we are using to create this site.

If you are not yet member of the Ultradox community on Google+, please join now to get updates from our end or to provide feedback, bug reports or discuss with other users.

Last Updated:

Share on Google+Share on FacebookShare on TwitterShare on LinkedIn