Contact Us 1-800-596-4880

Step 4. Design the BPMN Diagram for the Automation

After creating a new automation project, you can start designing the BPMN diagram for the process to automate. You can create the diagram manually or by using the RPA Recorder, which records your actions, creates each corresponding step in the diagram, and generates the action steps based on your mouse and keyboard interactions.

Step 4.1: Open the Project for Editing and Start RPA Recorder

Follow these steps to edit your process BPMN diagram using RPA Recorder:

  1. In the navigation panel of RPA Manager, click the My RPA module.

  2. Click My Backlog.

  3. Search for the MuleSoft newsletter sign-up project in the process list and click the Open process (The open process icon) button.

  4. In the Automation panel, click the Record BPMN (The record process icon) button.

    The Record BPMN button inside the Automation Panel

    If you see a pop-up window asking for permission, select the checkbox to allow RPA Manager to open RPA Recorder and click Open.

  5. Provide your RPA Manager user account password and click Login.

Step 4.2: Record Activity Steps with RPA Recorder

After you log in to RPA Recorder, you can start the activity recording process. In this process, you alternate between adding activity steps in RPA Recorder and performing the actual actions in your computer that you want to record and include in the BPMN diagram. This procedure continues until you perform the last action and finish the recording.

Before you Begin Recording the Process

To prevent issues during the tutorial, before you start with the recording steps:

  1. Navigate to https://blogs.mulesoft.com/signup-for-our-newsletter/.

  2. If a Cookie Consent pop-up shows, accept the cookies.

Performing this action prevents the pop-up from showing during the next steps of the automation tutorial, which could prevent you from finishing the process successfully.

Start the Recording

To record actions with RPA Recorder and create the BPMN diagram, follow these steps:

  1. In RPA Recorder, click the Start Recording (The start recording icon) button and add the first activity step:

    1. In the activity name field, write Open newsletter sign-up page.

    2. In the drop down menu, select Web task.

    3. Click Add.

    4. In the browser session that opens, navigate to https://blogs.mulesoft.com/signup-for-our-newsletter/.

  2. In the RPA Recorder panel, click the Add activity (The add activity icon) button and add a new activity step:

    The recorder panel of RPA Recorder

    1. Write Sign-up for newsletter in the activity name field.

    2. In the drop down menu, select Web task.

    3. Select the Continue with already existing web session checkbox.

      This option creates the generatedWebSession1 Action Parameter, which enables you to continue using the same web session in subsequent Web tasks. You can also reference this parameter when you create new action steps during the build phase in RPA Builder.

    4. Click Add

    5. In the sign-up page, provide an email address of your choice and click Sign up.

  3. In the RPA Recorder panel, click the Stop recording (The stop recording icon) button.

  4. Confirm that RPA Recorder generates a BPMN diagram as follows:

    A BPMN diagram with two steps

After you finish the recording process, upload the newly-created BPMN diagram to RPA Manager to update the model of your current automation project.

Step 4.3: Upload the BPMN Diagram to RPA Manager

Follow these steps to upload the BPMN diagram created with RPA Recorder to RPA Manager:

  1. In RPA Recorder, click the Edit, Merge and Upload Recordings (The edit, merge and upload icon) button.

  2. In the Automation panel, click the Save (The save icon) button.

  3. Write MuleSoft Newsletter in the Process name field and click Save.

  4. Click the Upload to server (The upload to server icon) button.

  5. In the confirmation window that shows after the upload finishes successfully, Click OK.

    The BPMN upload confirmation message

  6. Close the RPA Recording Editor window.

  7. Close the RPA Recorder window.

  8. Return to RPA Manager and refresh the browser page.

  9. Click Publish.

    The Publish button

  10. Click the confirmation checkbox and then click Release to Build.

Next Steps

Now that you’ve created a BPMN diagram for your automation project and published it, it’s time to move to the build phase, in which you can edit the diagram and specify the actions to execute for each action step.