Skip to main content
Join the Agentforce Hackathon on Nov. 18-19 to compete for a $20,000 Grand Prize. Sign up now. Terms apply.

Explore MuleSoft RPA Manager’s BPMN Editor

Learning Objectives

After completing this unit, you’ll be able to:

  • Describe the RPA BPMN editor menu options.
  • Explain how to split up RPA process flows by using Intermediate Events.

The MuleSoft RPA BPMN editor is available in the cloud in MuleSoft RPA Manager and locally on a Windows system in the MuleSoft RPA Builder editor. The features are nearly identical in both tools.

You use the BPMN editor by combining BPMN elements from menus to create RPA flows. Here’s an example of what an RPA flow being edited in the MuleSoft RPA BPMN editor looks like.

Example of RPA flow in MuleSoft RPA BPMN editor.

 

The rest of this unit introduces you to all the features and options available in the RPA BPMN editor.

Explore BPMN Editor’s Main Menu

Selecting an RPA process opens the BPMN editor and displays the RPA process with a simple default implementation. The main menu consists of three menu options in the bottom left of the BPMN editor. In the menu, you see icons for the following: save, import a previously saved BPMN diagram, and launch the RPA Recorder.

The three-item menu at the bottom left of the BPMN editor.

Selecting the middle icon opens a file browser to import a BPMN file from your local hard drive. This is where you can import a BPMN design you completed on a Windows computer back into RPA Manager. The import is from your local file system, not from the MuleSoft RPA Repository. The import expects BPMN files, not implemented CRPA files.

The remaining icon is the Record BPMN menu item. This menu item tries to launch the RPA Recorder on your Windows system with the current BPMN diagram. If the RPA Recorder isn’t installed, a message appears asking if you want to download the RPA Recorder and install it on your Windows system. This is another way to download the BPMN file to your local Windows system without having to publish the RPA process to the Build phase.

To export the BPMN file after you finish the RPA process design, you promote the completed RPA process to the Build phase. The previous menu is replaced with a menu with a single icon to export the BPMN diagram to your local hard drive.

The menu at the bottom-left of the BPMN editor with the export BPMN button.

Start a BPMN Flow

The BPMN flow starts with a Start Event and then connects to an empty Bot Task. In the following example, we renamed our Start Event to Start from Scheduler.

Start Event icon renamed Start from Scheduler.

The Start Event responds to signals from a scheduler that are configured when you test or deploy the RPA process to an RPA bot. Double-clicking the Bot Task allows you to change the label. We have set it to Build automated Bot Tasks with the RPA Process Recorder.

Bot Task label set to Build automated Bot Tasks with the RPA Process Recorder.

This Bot Task is a placeholder for the results of the RPA Recorder. During development, this Bot Task is replaced with several Bot Tasks as the developer refines the use case.

Main BPMN Editor Menus

There are two types of menus available as you sketch out a BPMN flow. The main menu stays on the left side of the editor and has BPMN elements to help build a flow. 

The BPMN flow main menu.

The other type of menu is a context menu. Each element also has its own context menu.

The BPMN flow context menu.

Many of the context menu options let you quickly connect to another element in the flow or add a new element to the flow. Others let you annotate or delete the selected flow element.

Intermediate Events

An Intermediate Event lets you break up your flow into separate flows that are connected by named links. When your flows have numerous crossing lines and branches, Intermediate Events remove some of the clutter of the connecting lines. They also allow you to separate out different paths and have them end at their own End Event elements. This diagram shows you a Throw Intermediate Event and a Catch Intermediate Event.

Example of RPA flow in MuleSoft RPA BPMN editor.

To connect the false path with the lower flow, each Intermediate Event is configured with the exact same link name value.

Intermediate Throw Event configured with the link name value.

Intermediate Catch Event configured with the link name value.

Editing Tools of the Main Menu

The rest of the main menu contains tools to connect and reorganize flow elements.

Menu Icon
Menu Item
Description

Hand tool

Hand tool

This tool is selected by default. It lets you drag the full diagram in the editor canvas.

Lasso tool

Lasso tool

This tool lets you select parts of the BPMN diagram to move around.

Create/remove space tool

Create/remove space tool

This tool provides a crosshair that you position in the middle of a BPMN diagram. All elements below or to the right of the crosshair are selected and can move with the mouse. 

Use this tool to open up space in the BPMN diagram for more elements. Each time you click the mouse with this tool, it only selects and moves elements horizontally or vertically, not both. 

The selection and movement depend on your initial mouse movement after you click and hold the mouse.

Create/remove space tool with crosshair positioned on BPMN diagram.

Context Menus

The context menu contains items to help you extend the flow.

Menu Icon
Menu Item
Description

Append Text Annotation icon

Append Text Annotation

Adds a text annotation to an element in the BPMN flow. Annotations specify variable names or other technical details needed by an RPA developer to implement the RPA process.

Remove icon

Remove

Deletes the selected element from the flow. The BPMN diagram automatically tries to keep upstream and downstream elements connected.

Connect using sequence flow icon

Connect using sequence flow

Connects the current element with another element. Some elements, such as an End Event or an Intermediate Catch Event, can only have inbound flow, so the connector automatically reverses the arrow.

Change type icon

Change type

Allows some elements to be changed to similar elements. Start Events and End Events can be switched, and Intermediate Event types can be changed between Throw Event and Catch Event types.

The navigation menu helps you move the BPMN diagram around.

The navigation menu helps you move the BPMN diagram around.

Menu Icon
Menu Item
Menu Item

Search icon

Search

Lets you type in part of element labels, then highlights them.

Close minimap icon

Close minimap

Lets you move around a closeup view of the RPA flow based on a minimap of the entire BPMN diagram.

A closeup view of the RPA flow using the minimap.

Fit to viewport icon

Fit to viewport

Shrinks or expands the BPMN diagram so that it fits in the visible canvas.

Zoom out icon

Zoom out

Makes the displayed part of the BPMN diagram smaller and shows more of the BPMN diagram in the viewport.

Zoom in icon

Zoom in

Makes the displayed part of the BPMN diagram larger and shows less of the BPMN diagram in the viewport.

Use this option with the hand tool to move the diagram around to locate elements you want to inspect with a zoomed-in view.

You are now ready to sketch a complete RPA process design in the MuleSoft RPA Manager BPMN editor for most use cases.

Walkthrough

Take a look at this video demonstration showing how to sketch a complete RPA process design in the MuleSoft RPA Manager BPMN editor. If you wish to follow along with text instructions, check out the walkthrough instructions.

在 Salesforce 帮助中分享 Trailhead 反馈

我们很想听听您使用 Trailhead 的经验——您现在可以随时从 Salesforce 帮助网站访问新的反馈表单。

了解更多 继续分享反馈