Friday, November 29, 2024
Constellation debug tools
Sunday, November 24, 2024
Pega constellation DX component
- Install NodeJS
- npm i @pega/custom-dx-components
- npx @pega/custom-dx-components@~24.2 init
- npm run create (To create component)
- npm run startStorybook
- npm run buildComponent
For easier organization and maintenance, you can group components in libraries. The component libraries can be created in different rulesets, which in turn can be used for different applications.
When you publish a component to Pega Infinity™, it creates or updates a Rule-UI-Component instance. This instance is pushed by Pega Infinity to the configured Constellation App Static Service. The Rule-UI-Component instances are exported in a RAP file for deployment to other Pega Infinity environments.When a component is published, a zipped version of the component folder is stored as a Pega Infinity Rule-UI-Component rule instance. Pega Infinity automatically pushes this component zip file to the Constellation App Static Service for access during UI rendering.
The naming convention of the component key is <organization>_<library>_<component
organization
- This value is found in the organization property of the package.json file in your project's root folder.library
- This value is requested when the component is created and can also be set as default in the tasks.config.json file.name
- This value is requested when the component is created.
- PAGE (Portal widgets) - This widget can be used only in landing pages.Example, Todo and App announcements.
- CASE (Utilities pane widgets) - This widget can be used only in case views.
- PAGE & CASE (Both) - This widget can be used in portal landing pages, and the Utilities pane for both case and data views. Example, Pulse
- Details : Applying the Details template renders the child components referenced in the Regions as read-only. Example: Details of Case view and Data type, Partial views use Details template use Details template.
- Form : Forms are designed to efficiently collect data from the users of your application
- Page : Page layout templates control the layout of landing pages.
Wednesday, November 20, 2024
DORA - DevOps Research and Assessment
- Deployment frequency:
- Lead time for changes : The time it takes from code commit to deployment to production.
- Mean time for recovery:
- Change failure rate:
- Prometheus - Metric collection and alerting
- Kibana - Log aggregation and analysis
- Splunk - Operational intelligence and insights
- Grafana - Dashboards for visualizing metrics
- Continuous Integration - Code quality, Unit tests, Dependency
- Continuous Delivery - Pre prod (Manual/Click to deployment to production)
- Continuous Deployment - Deploy to production
- Left- Plan, Code, Build, Test
- Right - Release, Deploy and Monior
Saturday, November 16, 2024
Data Flow
Rule-Decision-DDF (Decision Data Flow)
- Real time data flow
- Batch data flow
- Abstract - If this Data flow is configured as destination in other Data flow
- Data set
- DB Table
- Report definition -
- Abstract - If this Data flow is input to other Data flow
- Data set
- Data flow
- Case
- DB table
- Compose - Combine data from two sources
- Convert - Change the class of incoming data
- Filter
- Data transform
- Merge - Similar to UNION in SQL query
- Strategy
- Text analyzer
- Event strategy
Tuesday, November 12, 2024
Database class mapping wizard
- pzCreateTableForClass - Activity to create table in Pega DB, and creates Data-Admin-DB-Table instance.
- Database class mapping wizard - Creates a concrete class and maps to a particular DB table.
- Classes that inherit from Work- should be either be a class group or belongs to a class group
Job schedulers
- Adv.Agent are grouped together, and access group configured is applied to all agents in the group.
- Adv.Agents use Agent schedules.
- On disabling an instance of System-JobScheduler-Override.
- Jobschedulers offer both perf statistics & run statistics.
JVM - GC
It starts in the young generation (which itself is divided into multiple spaces - Eden and Survivor) and would eventually end up in the tenured generation if it survived long enough.
Monday, November 11, 2024
Adv. Agent
- Assign the records to be processed a sequential number for the jobID as 1,2,3...10
- Support we have 3 job schedulers, configured with different activities that take batch id as parameter. Agent1 gets parameter value 0, Agent2 value 1 and Agent3 value2.
- Agent activity checks condition Param.batchID==Page.jobID%3
Friday, November 8, 2024
Case management
- Duplicate search cases - pyDuplicateSearchCases activity
Approvals
- Single level - user reference field, reporting mgr, Participant. Work queue/Business logic
- Cascading
- Reporting structure - RM, WG Mgr. Approval level is One, All, Custom
- Authority Matrix - Build Pagelist by using decision table.
- Create PageList & decision table D-A-O-I class. Evaluate all rows.
- pxCascadingApproval flow
Thursday, November 7, 2024
Pega SLA
Flow SLA
- Pega uses internal process flow (pzInternalProcessFlow) with assignment shape & sla parameter. Pega starts this flow in parallel to the current case flow
- Creates a new internal assignment (Assign-Internal) and SLA queue item for GOAL time, and System-Queue-ServiceLevel instance which will be process by ServiceLevelEvents agent.
- Pega starts OverallSLA flow with Assign-Internal assignment.
- pzInternalStageFlow with Assign-Internal assignment
- pxAdjustSLATimes/pxAdjustSLA - This API adjusts the existing goal and deadline times of an assignment.
- DefineSLATimes Work- to add pySLAName on Work.
Friday, November 1, 2024
Pega common data model
- 12 Entities (Ex: Common-LDM-Entity-Account)
- 12 case types : case type per each Entity
- Data objects that any of the Entities can use. For example, Address
- Local data storage (Data base tables)
- API layer for the CRUD operations
- Data pages that use connectors
- Data portal for viewing and uploading
- Common-LDM-Relation-Acct_Con direct inherit from Link-Association-M2M (Link-Association)
- SelectContactRelationships property is of type PegaList (of Common-LDM-Relation-Acct_Con)