Applies to

Bridge by Smartsheet

Create a loop in a workflow

Learn how to create a loop in a Bridge workflow.

Who can use this?

Plans:

  • Bridge by Smartsheet

Sometimes, you might want to create a loop in a Bridge workflow.

Usually, you need to build a workflow that should be repeated for many items, such as many rows in a sheet or many records in another system.

Both can be solved in Bridge but in different ways.

How to create a loop in a workflow

A trigger can cause a workflow to run for multiple items at once. For example, you might want a workflow to run regularly to update multiple rows in a sheet.

To achieve this: 

  1. Create a parent workflow triggered by the schedule and programmed to collect all the rows needed. 
  2. Add the Run Child Workflow module
  3. Enter the name of the workflow you want to run once for each row collected.
  4. In the Number of Runs field, specify the times to run the child workflow. 
    • If you leave this field blank, the child workflow runs once. 
    • If you enter the reference to an array of data, the child workflow will be run once for each entry.

To reference the array data in the child workflow

  1. Go to the Run Log
  2. Expand the Trigger data.
     

    Brandfolder Image
    create a loop example