Skip to main content

Challenge

Managing Deployment levels and packages

5 Tasks

30 mins

Visible to all users
Beginner Pega Robot Manager 8.5.1 Robotic Process Automation English

Scenario

MyTown has completed the development for two automation projects and is ready to begin testing. To facilitate the testing, MyTown wants to deploy both projects to Pega Robot Manager™ to associate the packages with the appropriate workgroups and organizational structure and manage them throughout the deployment life cycle. MyTown also plans to deploy the projects to a Package Server so that robots can download the appropriate packages for specific assignment types automatically.

To ensure both automations are high quality, MyTown will thoroughly test each automation and deploy new versions to address any issues or bugs that are found. Once the automations are defect-free, the deployed packages must be upgraded to QA and, ultimately, production.

Note: This mission and challenge requires Pega Robot Studio version 19.1.23. Click the Completing this challenge link for assistance in downloading and installing Pega Robot Studio.

Challenge Walkthrough

You must initiate your own Pega instance to complete this Challenge.

Initialization may take up to 5 minutes so please be patient.

Detailed Tasks

1 Connect to Pega Robot Manager and Package Server

  1. If not already running, start Pega Package Server to ensure it is listening.
    Package Server listening
  2. Download the MyTownProjects exercise .zip file that contains the automation projects.

  3. Extract the .zip file into a desired directory.

  4. Open the Pega Robot Studio application.

  5. From the menu bar, click Tools > Options to open the Options window.

  6. From the left navigation pane, click Pega Robot > Server Connectivity.

  7. Ensure the Connect to server option is enabled which will display server connectivity and authentication details.

  8. Under the Server Details section, in the Address field, enter the URL of your Pega Robot manager lab instance in the format https://########.pegace.net/prweb

  9. Under the Authentication Details section, in the Email field, enter developer@mytownrm.

  10. Under the Authentication Details section, in the Password field, enter rules.

  11. Under the Package Server section in the Address field, enter the Package Server URL in the format of http://[IP address]:5000
    RM Server Connectivity
  12. Click Test Connection to verify successful connectivity.

    Note: If the connection is unsuccessful, verify the URLs and ensure that both the Package Server and Pega Robot Manager instances are running.
  13. Click OK to apply the changes.

2 Deploy the MyTown projects

  1. From the menu bar, click File > Open > Project/Solution to open the Open Project window. 
  2. From the file browser, navigate to the extracted exercise folder and select the ../MyTownParksproj/MyTownParksproj.ossln solution file you downloaded to open the parks department automation project. 

  3. From the menu bar, click Project > Deploy Project to open the Project Deployment window.

  4. In the Comment field, enter Parks and Recreation department automation to provide a description for the package.

  5. Verify the Publish to Server check box is already selected to deploy to Pega Robot Manager and Package Server.

  6. DeployParksproj
  7. Click OK to begin the publishing process.

  8. Click OK to dismiss the Deployment Status window.

  9. Repeat steps 1-7 with the MyTownWaterproj.ossln solution file and enter Water and Sewer department automation for the deployment comment.

3 Deploy and assign package versions

  1. Login to Pega Robot Manager with username RMSysAdmin and password myt0wn@pp1

  2. Click Launch Portal > Robot Manager to open Pega Robot Manager portal dashboard.

  3. From the Pega Robot Manager dashboard, click the Packages link to display the list of deployed packages.

  4. Select the MyTownParksproj package to open the package landing page.

  5. From the Actions menu, click Edit package to open the Edit package window.

  6. In the Name field, enter MyTown Parks and Recreation to change the package name.

  7. Click Submit to apply the changes and close the dialog box.

  8. Under the Development level, click Deploy version to open the Available versions window.

  9. To the right of version v1.0, click Deploy to associate version 1.0 of the MyTown Parks and Recreation package to the Development deployments level. 

  10. In the Assigned to Development section, click Assign new to assign the v1.0 deployment to a work group.

  11. In the Work group field, press the down arrow key to select the Inquiry WG work group. 

  12. Click Next to advance to the package configurations.   

  13. Click Next to confirm that there are no configurations present for this package.

  14. Click Assign to apply the work group assignment.
    Deployment levels

4 Deploy additional versions

This challenge simulates a bug fix by redeploying the same project with a higher version number. In reality, a developer would update the automation project with appropriate fixes prior to redeploying the project.

  1. From Pega Robot Studio with the MyTownParks solution open select Project > Deploy Project on the menu bar to open the Project Deployment window.

  2. Verify the Deployment Version number has incremented to 1.1.

  3. In the Comment field, enter fixed automation bug.

  4. Click OK to begin the publishing process.

  5. Click OK to dismiss the Deployment Status dialog box.

  6. Return to Pega Robot Manager.  

  7. Navigate to the MyTown Parks and Recreation package landing page. 

  8. From the Actions menu, click Versions to display the Versions window.  Note the additional v1.1 version and the associated description. 

  9. Click Close to dismiss the window.

  10. Under the Development deployment level, click the Pencil icon next to v1.0 to open the Available versions window.

  11. Click Deploy to replace the deployed v1.0 version with the latest version, v1.1.
    Deployment levels v1.1

5 Deploy to higher deployment level

  1. Under the UAT deployment level, click Deploy version to display the Available versions window

  2. Next to v1.1, click Deploy to deploy the v1.1 version to the UAT deployment level.

  3. Click the Development deployment level to display the MyTown Parks and Recreation work group assignment.

  4. To the right of the work group assignment, click the Trash icon to delete the assignment.

  5. Click Submit to confirm the deletion.

  6. Click the UAT deployment level.

  7. Click Assign new to open the Create assignment window.

  8. From the Work group field, select the Inquiry WG work group to reassign the work group to the higher deployment level.

  9. Click Next twice to advance the assignment process to the confirmation screen.

  10. Click Assign to complete the assignment.
    Deployment levels UAT
  11. Repeat steps 1-10 to deploy version 1.1 to production and update the MyTown Parks and Recreation work group assignment.



Available in the following mission:

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice