+
+

Lab 2: 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 1: Open the Project for Editing and Start RPA Recorder

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

  1. In RPA Manager, click the My RPA.

  2. Click My Processes.

  3. Search for the MuleSoft blog sign-up_<Your Initials> project in the process list and click the process name to open it.

  4. In the Automation panel, click the Record BPMN () button.

3 1 4

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

  1. Provide your RPA Manager user account password and click Login. This is the same password you used to login to the RPA Manager.

Step 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.

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

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

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

    2. In the drop down menu to the right, select 'Web task'

    3. Click Add.

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

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

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

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

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

    4. Click Add

    5. In the sign-up page, provide an email address of your choice and click the accept (>) button.

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

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

3 2 last

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 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 () (PENCIL icon) button.

  2. In the Automation panel, click the Upload to server () button.

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

  4. Close the RPA Recording Editor window.

  5. Close the RPA Recorder window.

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

  7. Click Publish.

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

  9. After the Project has been published to the Build hase it will show 2 errors, this is expected behavior.

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.

Submit your feedback!
Share your thoughts to help us build the best workshop experience for you!
Take our latest survey!