Creating a value

The Boomi Flow drawing tool lets you create values as you need, while you are building your flow. You can also create values you need beforehand, and then import them to the flow.

Values you create are available throughout the tenant, and can be reused in multiple flows. If you change a value in one flow, the change is reflected across all flows in the same tenant.

Creating values from within a flow:

When you need to use a value, you will see a Select or create a new Value button in the configuration panel. For example, let’s say you are working with the Message element, and need values for Body, From, Subject, or To.

This is what the canvas looks like:

Here is what you will do:

    1. Click Select or Create a new Value.

      This opens the value creation dialog box.
    2. Click Create a new Value.
    3. Enter a name for the value in the Name field. (You may want to follow a naming convention.)
    4. Select the content type of value you want to create from the What kind of Value is this? drop-down menu. Values can be of the following content types — Boolean, Content, Date/Time, List, Number, Object, Password, String, and Encrypted.

      If you are creating a List or Object value, you will also be prompted to enter what type of value it is.

      You can assign default values at this stage as well. For example:
    5. Click Save when done to save the value.

Creating values from the Values screen:

While we recommend creating values as you are building a flow, you can also create values beforehand and then import them to a flow.

  1. Click Values to open the Values tab.

    This tab lists all the values available in your tenant.
  2. Click New Value.
  3. The rest of the steps are the same as above (From 3. onwards).

Advanced configuration options

While creating a value, you have advanced configuration options. You can find these options, by clicking the + icon next to Advanced.

Advanced configuration options include Presentation and Change. You can also configure how the value is accessed, and whether the value ought to be versioned. There is a field for Comments, if you want to write a descriptive comment on the value.

This lets you decide the format of the data in the Value, if referenced in the app. Boomi Flow follows the C# formatting convention.

      • Custom Date and Time Format Strings – You can find a list of supported formats here.
      • Custom Numeric Format Strings –  You can find a list of supported formats here.

You have three configuration options, that lets you determine whether the value you are creating, can be changed during the course of a flow, or treated as a constant.

      1. Do not allow changes to this Value – Checking the box against Do not allow changes to this Value treats the value as a constant during the flow, not allowing the flow to change the value while its being executed. However, the data of the value can be updated by clicking Values from the Home tab, and clicking the pencil icon next to the value.
      2. Access – Selecting from Private, Input, Input & Output options, lets you select how the value is accessed externally by a flow.
        1. Private: Private values can only be assigned data while inside the flow – you can’t use them as Inputs or Output.
        2. Input: The value can be initialized when the flow starts.
        3. Output: The Done response when the flow finishes, will contain this value.
        4. Input & Output: The value is set to be both Input & Output.
      3. The Value should not be versioned – Checking this box does not let the flow version the value.

This lets you write a descriptive comment. For example: This value updates user response in the app.