Set Outputs Operator

Prev Next

The Set Outputs operator outputs data from a Data Workflow to multiple locations. You can use this operator to output the same value to two or more locations. It's important to note that it does not output different values to different locations.

You can also use this operator to trigger multiple components. Most components have a single Trigger setting. So, using the Set Outputs operator is a good way to trigger up to five components simultaneously.

Similar Data Workflow Operators

The Set Outputs operator is similar to the Output operator in the following ways:

  • Set Outputs operator: Outputs data from a Data Workflow to multiple locations.

  • Output operator: Outputs data from a Data Workflow to one location.

About the Info Window

Here's what the Set Outputs operator looks like, along with its Info window:

Here's a breakdown of each setting in the Info window:

Setting

Description

Component

Your output destination or the component where you want the output value sent. Select the component you want to reference from the drop-down menu.

Your selection displays as the operator's label.

Only your selection in the first Component field shows on your Data Workflow canvas.

The Data Workflow component supports using grid referencing syntax to target the Dynamic Grid, Uniform Grid, and Freeform Grid components. Grid referencing syntax supports targeting at the component, column, row, and cell level. To learn more, view the following articles in our Documentation Hub: Dynamic Grid: Targeted Logic and Referencing Syntax and Uniform Grid and Freeform Grid: Logic and Referencing Syntax.

Component 1-5

Here, you link the additional output locations. Each extra field lets you choose a component to reference in your Data Workflow. Select a unique Property ID from each drop-down. If you reference fewer than five extra components, leave the rest empty.

Action

The action you want to output in your Data Workflow. The most common action is value, which outputs the value of your data to another component in your module. You can also choose an action to perform when the Data Workflow ends.

Set Value

To push a text or number value to the output locations, enter the value here.

Adding the Set Outputs Operator

To demonstrate the Set Outputs operator, you'll create a simple module that, once the end-user clicks a button, both fields populate with Not Applicable.

Configure the Text Field Components

First, add a Text Field component to serve as the output component.

  1. In the Module Builder, drag and drop two Text Field components onto your canvas.

  2. In the Property ID and Label Text fields for each component, enter the following:

    #

    Property ID

    Label Text

    1

    jobTitle

    Job Title

    2

    salary

    Salary

  3. Click Save Component for each component as you add it.

Configure the Data Workflow Component

Next, you'll set up the Data Workflow component.

  1. Drag and drop a Data Workflow component onto your canvas, placing it below the Text Field components.

  2. In the Property ID and Canvas Label Text fields, enter dwfValue.

Configure the Create Value Operator

  1. Drag and drop a Create Value operator onto your Data Workflow canvas.

  2. Configure the operator's Info window as follows:

    Setting

    Value

    Category

    Create Value

    Label

    Create GO Value

    Expression/Value

    "yes"

Configure the Set Outputs Operator

  1. Drag and drop a Set Outputs operator onto your Data Workflow canvas.

  2. Configure the operator's Info window as follows:

    Setting

    Value

    Category

    Set Outputs

    Component

    jobTitle

    Component 1

    salary

    Action

    Value

    setValue

    Not Applicable

  3. Connect the output port (right) of the Create Value operator to the input port (left) of the Set Outputs operator.

  4. Click Save Component.

Configure the Button Component

Lastly, add a Button component to trigger the Data Workflow.

  1. Drag and drop a Button component onto your canvas, placing it above your Data Workflow component.

  2. In the Property ID field, enter btnValue.

  3. In the Label Text field, enter Not Applicable.

  4. From the Action Type drop-down, select Event.

  5. From the On Click drop-down, select dwfValue.

  6. Click Save Component.

  7. Save your module.

Here's how the completed example looks in the Module Builder:

In Express View, click the button to test your configuration. You'll see both fields populate with Not Applicable.

The Set Outputs operator outputs data from a Data Workflow to multiple locations. You can use this operator to output the same value to two or more locations. It's important to note that it does not output different values to different locations.

You can also use this operator to trigger multiple components. Most components have a single Trigger setting. So, using the Set Outputs operator is a good way to trigger up to five components simultaneously.

Similar Data Workflow Operators

The Set Outputs operator is similar to the Output operator in the following ways:

  • Set Outputs operator: Outputs data from a Data Workflow to multiple locations.

  • Output operator: Outputs data from a Data Workflow to one location.

About the Info Window

Here's what the Set Outputs operator looks like, along with its Info window:

Here's a breakdown of each setting in the Info window:

Setting

Description

Component

Your output destination or the component where you want the output value sent. Select the component you want to reference from the drop-down menu.

Your selection displays as the operator's label.

Only your selection in the first Component field shows on your Data Workflow canvas.

The Data Workflow component supports using grid referencing syntax to target the Dynamic Grid, Uniform Grid, and Freeform Grid components. Grid referencing syntax supports targeting at the component, column, row, and cell level. To learn more, view the following articles in our Documentation Hub: Dynamic Grid: Targeted Logic and Referencing Syntax and Uniform Grid and Freeform Grid: Logic and Referencing Syntax.

Component 1-5

Here, you link the additional output locations. Each extra field lets you choose a component to reference in your Data Workflow. Select a unique Property ID from each drop-down. If you reference fewer than five extra components, leave the rest empty.

Action

The action you want to output in your Data Workflow. The most common action is value, which outputs the value of your data to another component in your module. You can also choose an action to perform when the Data Workflow ends.

Set Value

To push a text or number value to the output locations, enter the value here.

Adding the Set Outputs Operator

To demonstrate the Set Outputs operator, you'll create a simple module that, once the end-user clicks a button, both fields populate with Not Applicable.

Configure the Text Field Components

First, add a Text Field component to serve as the output component.

  1. In the Module Builder, drag and drop two Text Field components onto your canvas.

  2. In the Property ID and Label Text fields for each component, enter the following:

    #

    Property ID

    Label Text

    1

    jobTitle

    Job Title

    2

    salary

    Salary

  3. Click Save Component for each component as you add it.

Configure the Data Workflow Component

Next, you'll set up the Data Workflow component.

  1. Drag and drop a Data Workflow component onto your canvas, placing it below the Text Field components.

  2. In the Canvas Label Text and Property Name fields, enter dwfValue.

Configure the Create Value Operator

  1. Drag and drop a Create Value operator onto your Data Workflow canvas.

  2. Configure the operator's Info window as follows:

    Setting

    Value

    Category

    Create Value

    Label

    Create GO Value

    Expression/Value

    "yes"

Configure the Set Outputs Operator

  1. Drag and drop a Set Outputs operator onto your Data Workflow canvas.

  2. Configure the operator's Info window as follows:

    Setting

    Value

    Category

    Set Outputs

    Component

    jobTitle

    Component 1

    salary

    Action

    Value

    setValue

    Not Applicable

  3. Connect the output port (right) of the Create Value operator to the input port (left) of the Set Outputs operator.

  4. Click Save.

Configure the Button Component

Lastly, add a Button component to trigger the Data Workflow.

  1. Drag and drop a Button component onto your canvas, placing it above your Data Workflow component.

  2. In the Property ID field, enter btnValue.

  3. In the Label Text field, enter Not Applicable.

  4. Set the Action Type as Event.

  5. From the On Click drop-down, select dwfValue.

  6. Click Save & Close.

  7. Save your module.

Here's how the completed example looks in the Module Builder:

In Express View, click the button to test your configuration. You'll see both fields populate with Not Applicable.