Create Flows
  • 20 Feb 2023
  • 3 Minutes to read
  • Dark
    Light

Create Flows

  • Dark
    Light

Article Summary

A Flow is the Designer Element visually representing the logic used to execute a process. Flows can move and manipulate data, perform various actions, and provide functionality to other Designer Elements. These processes are created by adding and configuring functions referred to as Steps. Steps are a graphic way to represent each point within a Flow. Steps are added to Flows via the Flow Designer from the step catalog known as the Toolbox. The following article will walk through the basics of creating a Flow.


Example

  1. In a Designer Project, select CREATE FLOW.
  2. The Create Flow gallery will appear, displaying various Flow Behavior options. Select Flow found under the Favorites or Default sections.
  3. Enter a Flow name in the text box provided. Select CREATE.

    Once the Flow has been created, selecting the Info in the side panel can provide the user with various details of the Flow, such as the name, Owner, and Flow ID.
    OptionDescription
    View HistoryViews the history of the Flow.
    NameThe provided Name for the Flow. This field can be updated with the changes reflected in the portal after the Flow is saved.
    DescriptionA written description of the Flow.
    OwnerThe current owner of the Flow. Based on specific designer settings, the owner can be notified if changes are made to the Flow. The Current owner can be updated using the Pick action.
    TagsTags can be added to the Flow for easier searchability in the portal.
    Behavior NameThe current Flow behavior used by the Flow.
    Element AttributeProvides information on the current Designer Element to which this item belongs.
    Created in VersionThe version the Flow was initially built in.
    Modified in VersionThe version the Flow was last updated in.
    IdThe Flow ID is used for identifying the Flow in the database. ID's of Designer Elements can also be found in the URL while in the editor or within the Data Explorer.
    Created On DateThe date the Flow was built.
    Modified DateThe latest date the Flow was saved and changed.
    Created ByThe account associated with making the Flow.
    Modified ByThe account that had most recently modified the Flow.
  4. At the top of the Flow Designer, select SETUP INPUT DATA. Input Data is data passed into the Flow to manipulate with Steps.
  5. In the Flow Input Data dialog, select DEFINE under Define Input Data to open the [Flow Name]: Input Data window.
    The Input Data window is where data that needs to pass through the Flow can be defined. This window presents three fields that can be configured for each piece of data; Name,Typeand Is List. Alternative to the Input Data window, data can also be defined in the Properties panel of the Start step.
  6. In the [Flow Name]: Input Data window, type "First Number" in the Name field on the first line. Expand the drop-down list for Type and select Int32 [Number]. Leave the 'Is List' option unchecked.
  7. On the second line, type "Second Number" for the Name, select Int32[Number] for the Type, and leave Is List unchecked. 
  8. Select Save and then close the Input Data window.
  9. In the Toolbox panel, expand DATA > NUMBERS. Drag and drop the Add step onto the workspace. Connect the Start step to the Add step. The Toolbox houses thousands of Steps that manipulate and move data throughout a Flow.
  10.  With the Add step selected, navigate to the Properties panel.

    The step Properties panel includes step settings, additional outcome paths, testing and simulation settings, and inputs and outputs. Input is the expected data that the step needs to function. Next to each input is a drop-down list set to Unknown by default. This drop-down represents the Mapping Type for an input value. Output is the information the step passes out once it has finished its process.

    In the Help Center section of the Flow, a red exclamation mark will appear when new steps are added that have not been configured yet. This indicates an Exception within the Flow that would need to be resolved before the Flow can function as intended.

  11. Under Inputs > Value1 select Pick. In the Pick Data For Input: value1 dialog, choose First Number. 
  12. Under Inputs > Value2 select Pick. In the Pick Data For Input: value2 dialog, choose Second Number. Alternatively, begin typing "Second Number" within the textbox to display a drop-down of all matching data available to the Flow.
  13.  Connect the outcome path from the Add step to the End step. Move the End step next to the other logic; it is best practice to keep lines within the Flow straight to have an organized view.
  14.  Select Debug in the top action bar.

    The Debugger is a tool that tests the Flow to confirm that the logic is working as expected. It will show the number of times a step was reached, its path, and input and output data to see how it changes from step to step.

  15.  Type numbers into the First and Second Number boxes and select Start Debugging. 
  16.  In the Debugger, right-click the Add step, then select View Input/Output Data to display the numbers that the step added and the result.

For further information on Flows, visit the Decisions Forum.

Was this article helpful?