Skip to main content

Exporting an application

Archived

3 Tasks

30 mins

Visible to: All users
Intermediate Pega Platform 8.5 Installation and Deployment English
This content is now archived and is no longer updated. Progress is not calculated. Pega Cloud instances are disabled, and badges are no longer awarded. Click here to continue your progress in the latest version.

Scenario

Development of the HRApps application is complete. You are asked to migrate the application to a testing system. Quality assurance (QA testers) requires that you provide them with an application archive of the HRApps application. The QA testers will import the application archive on the testing system to test the application ahead of application delivery. Your application contains a ruleset for delegating rules in a production environment, which must be kept unlocked.

Use the Application Packaging wizard to create a product rule for the current version of the HRApps application. Include the product rule in an unlocked application ruleset. The product rule includes:

  • All of the associated data types and data instances for the HRApps and HRFW applications (not the Theme-Cosmos application).
  • All of the developer documentation added in the rule History tabs.

Modify the product rule so that the delegated production ruleset is included in the archive. Then, verify that the contents of the product rule are complete before creating the archive. Finally, use the product rule to create and save the application archive to your system.

The following table provides the credentials you need to complete the exercise.

Role User name Password
Senior System Architect SSA@TGB rules

 

Note: Your practice environment may support the completion of multiple challenges. As a result, the configuration shown in the challenge walkthrough may not match your environment exactly.

Challenge Walkthrough

Detailed Tasks

1 Create the product rule

  1. In Dev Studio, from the Configure menu, select Application > Distribution > Package to open the Application Packaging wizard.
  2. In the Application step, select the highest version of the HRApps application, and select the highest unlocked version of the HRApps ruleset. Click Next to continue.

  3. In Step 2, uncheck "Theme-Cosmos 02.01" to omit the standard Cosmos application from the product archive. Click Next to continue.

  4. In the Application Packaging wizard, there are no changes to steps 3-12. Click Next to continue.

  5. Click Finish to display the verification landing page.

2 Modify the product rule

  1. Click Modify to open the product rule.
    Package Wizard landing page
  2. Select the Custom/Production rulesets check box for the HRApps application to add the delegated ruleset to the application archive.
    HRApps custom production rulesets
  3. Retain the other default settings to ensure that the data associated with the application rulesets, rule history instances, and the application's data types are added to the archive.
  4. At the bottom of the form, in the File details section, select Allow unlocked ruleset versions? to ensure that an error does not occur when you attempt to create the archive, as the delegated ruleset must remain unlocked.
  5. Save your changes.

3 Confirm your work

  1. In the product rule, in the File details section, click Preview product file to verify the selected rules, data, and other objects are correct and ready to be packaged in the application archive. 

  2. In the Instances column, click the number to view the details of each class instance. Your results may vary depending on how you completed the exercises.
    Tip: Expand the class names to display the clickable instances.
    Export system data
  3. Click Submit to close the dialog box.
  4. Return to the Application:Distribution form.
  5. On the Export tab, click Export to start the archive process. The number of records may vary depending on how you completed the exercises.
    export by application HRApps archive file

    When the progress dialog reaches 100%, the archive is available to download.

  6. Click Download to access the archive file for import into the QA system.


Available in the following mission:

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