Creating a BPMN Flow
  • 19 Jul 2021
  • 2 Minutes to read
  • Dark
    Light

Creating a BPMN Flow

  • Dark
    Light

Overview 

BPMN (or Business Process Modeling Notation) is a standard notation system that is used to graphically represent business processes. Through the use of implementations in v6/v7, users are provided the ability to create Flows using BPMN steps in the Step Toolbox. Additionally, if desired, users may also Upload preexisting BPMN XML files into Decisions, for conversion into a Flow. This allows users the ability to use BPMN as a base for laying out projects within the Flow engine. The following document demonstrates how to create a BPMN-based Flow in the Flow Designer.

Additional Information on BPMN
For more information on BPMN in Decisions, see Import and Export BPMN.

BPMN Steps

BPMN steps are located in the Flow Designer, under Toolbox > DATA > BPMN. Accessing this category allows users to access additional categories to provide further customization of the Flow.


The categories and their functions are as follows: 

CategoryDescription
ACTIVITY Provides step to Call Activity which provides a method for performing an action. 
DATAOffers steps that deal with Data handling. This includes Input, Output, creating a Data Object, or storing Data. 
EVENTSProvides steps pertaining to major points ("Events") in a Process. 
GATEWAYS Steps that allow the Designer to split the Path of the Flow/BPMN Diagram. 
PROCESSProvides a step for running Sub-Processes (similar to Sub Flow functionality). 
TASKSProvides steps relating to specific tasks. 

Example 

To create a Flow using BPMN steps:

  1. Navigate to a Designer Project in Decisions Studio, select CREATE FLOW from the Global Action Bar, then CREATE a new Flow
  2. From the Flow Designer, delete the Start and End steps. Then navigate to Toolbox > DATA > BPMN > EVENTS > START, and drag a Start Event step into the workspace. 
  3. Navigate to Properties > STEP INFORMATION, and provide the desire Name value for the Start Event.
  4. From Toolbox > DATA > BPMN > ACTIVITY, attach a Call Activity step to the Done path of the Start Event step. 
  5. From the Properties tab of the Call Activity step, navigate to ADVANCED > PICK OR CREATE IMPLEMENTATION FLOW, then CREATE a new Flow. 
    Additional Information on Implementation Flows. 
    Implementation Flows are used to connect a BPMN Flow to an external Flow to accomplish a section of the modeled Business Process. 

  6. From the Flow Designer, design the Flow as desired, then Save, and close via X. 

    Example Flow Config 
    For this example, attach a Show Popup step from the FAVORITE STEPS category to the Start and End steps. From the step's Properties, Constant map the desired Subject and Message value. 

  7. Back in the BPMN Flow's Flow Designer, connect an End Event step from Toolbox > DATA > BPMN > EVENTS > END to the Call Activity step; redefine the step's Name if desired. 

    Note on Start/Event Steps 
    Start Event and End Event function similarly to a standard Start/End step in that they begin or end the Process respectively, and can be used to define Input/Output data.

  8. Save the Flow, then if desired close.



Debug

  1. From the top Action bar in the Flow Designer, select Debug. Then click START DEBUGGING. 
  2. Verify that the Flow passes through the complete BPMN Diagram
  3. Select/navigate to the Implementation Flow on the left to verify that this Flow was completed as expected. 

Was this article helpful?