
Extracting Case data using BIX
1 Task
45 mins
Pega Platform '24.2
Advanced
Pega Platform '24.2
English
Scenario
MDC currently has business intelligence tools included in its enterprise licenses. Using these external tools, MDC wants to generate and view the partner registration report. To do this, MDC must set up the right Business Intelligence Exchange (BIX) extract Rules. These Rules extract partner registration data in a CSV format, which makes the Rules accessible to the data warehouse team. This process will enable MDC to effectively use their existing tools to analyze the partner registration data.
The following table provides the credentials you need to complete the challenge:
Role | User name | Password |
---|---|---|
Admin | admin@deliveryservice | rules |
Detailed Tasks
1 Implement solution details
- In the Pega Platform instance for the challenge, enter the following credentials:
- In the User name field, enter admin@deliveryservice.
- In the Password field, enter rules.
- Search for and open the MDC application Rule.
- In the Application rulesets section, click Add ruleset.
- In the field, enter Pega-BIX:08-24, and then click Save.
- In the lower-left corner of Dev Studio, click the user icon, and then click Log off.
- Repeat step 1 to log in as admin@deliveryservice.
- In the navigation pane of Dev Studio, click App.
- In the Application Explorer, click Partner > Create > SysAdmin > Extract to configure the extract Rule.
- Create the extract Rule:
- In the Label field, enter ExtractPartner.
- In the Context list, select Delivery Service.
- In the Apply to field, enter MDC-DS-Work-Partner.
- Click Create and open.
- Configure and map the properties to extract:
- In the Output format list, select Comma Separated File (CSV).
- Click the Gear icon to select or configure properties of the MDC-DS-Work-Partner class of the Partner Case to extract.
For example, select the BusinessPartner, BusinessPartnerID, Invoice, InvoiceId, and IsRenewal properties.
- On the Filter Criteria tab, define the criteria to extract the Case instances:
- In the Label field, enter A.
- In the Field list, enter or select.pyStatusWork.
- In the Operator list, select Is equal.
- In the Value field, enter "Resolved-Completed".
- Select the Use null if empty checkbox.
- Select the Ignore case checkbox.
-
On the File Specification tab, in the CSV output directory field, enter /opt/tomcat/temp (for example in a VM system).
This setting defines the output directory to store the extracted files. Ensure that the specified CSV output directory is present on the server file system and is accessible with the required read/write permissions.
- Click Test Connectivity to ensure that the file directory is accessible, and then click Save.
- In the navigation pane of Dev Studio, click App.
- In the Application Explorer, right-click Partner, and then click Create > SysAdmin > Job Scheduler to configure the job scheduler to extract the data on a periodic basis.
- Complete the Job Scheduler record configuration:
- In the Label field, enter ExtractPartner.
- In the Context list, select Delivery Service.
- Click Create and open.
- On the Definition tab, configure the job scheduler details:
- In the Runs on list, select Any one associated node.
- In the Schedule list, select Daily and accept the default settings.
- In the Start time field, enter 12:01:00 AM.
- In the Time zone field, enter GMT.
- In the Context list, select Use System Runtime Context.
- In the Class field, enter or select Rule-Admin-Extract.
- In the Activity field, enter or select pxExtractDataWithArgs.
- Configure the activity parameters:
- In the pyExtractName row, in the Parameter value field, enter ExtractPartner.
- In the pyExtractClassName row, in the Parameter value field, enter MDC-DS-Work-Partner.
- Click Submit.
- Click Save.
Confirm your work
Confirm that the extracted files are displayed in the output directory daily, according to the configuration of the ExtractPartner Rule.
You can also set up BIX by using the command line for client-managed cloud or on-premises installations. On Pega Cloud®, support for extraction is available only through the job scheduler.
For more information, see BIX extraction overview.
Available in the following missions:
If you are having problems with your training, please review the Pega Academy Support FAQs.
Want to help us improve this content?