Skip to main content
Version: v2.5

Use the Happy Path in the ProcessAnalyzer

If you have created a happy path with the ProcessModeler, you might like to use it in more than one or maybe all the ProcessAnalyzers in the mpmX Template App.

To do so, perform the following steps:

  1. Create a variable which shall contain the created happy path.

    Go to edit mode in the App and click the variable button in the lower left corner:

    Create new variable
    Create new variable

  2. Save the happy path in the ProcessModeler to a variable.

    • Open a ProcessModeler in edit mode and navigate to settings.
    • Switch "Save HappyPath in Variable" to On and insert the recently created variable:
      Properties Panel - Settings - Selection HappyPath Variable
      Properties Panel - Settings - Selection HappyPath Variable
  3. Create a happy path

    Target Process selection
    Target Process selection

  4. Place the variable in the ProcessAnalyzer where you would like to see the happy path.

    • Open the ProcessAnalyzer in edit mode and go to Graph Settings.

    • Place the recently created variable in the fx-field as ='$(variableName)'

      Properties Panel - Appearance, Graph Settings, Happy Path
      Properties Panel - Appearance, Graph Settings, Happy Path

    ⚠️ Warning: Do not open the variable field by the fx button. Instead type the formula directly in the window shown below. If you click on "fx" afterwards, you should see an [object Object] as formula which is fine.

  5. The happy path will be shown in the ProcessAnalyzer:

    Process Analyzer - Happy Path
    Process Analyzer - Happy Path