Pega exception handling in connectors

What is exception handling in pega?

As we know connectors are used to communicate with external systems to fetch data and there is a possibility of something going wrong always exists. We can encounter some exceptions/errors during the communication so we need to be ready with the handling strategies. Errors could be temporary/Transient or permanent. Transient errors are temporary errors, do not last long, and can rectify themselves over time.  For example, Connector is unable to connect because the application is temporarily unavailable/restarted.
Permanent errors: Typically due to configuration issues or invalid request, these kinds of error persists until we fix them.


Advertisement

Simulations in pega

What is the simulation in pega?

Simulating integration connectors to see how the response is coming or when there is no data source is available/external system is not available. We will define our own data source and test the integration. Use simulations to unit test the integration connector. We can simulate any external service as long as we know that "what is the request it is expecting and what is the response it is going to return".

How to simulate an integration in pega?



Advertisement

Spin Off in pega

Parallel processing in Pega

We can allow users to perform multiple tasks independently to complete the work, in pega we can this as parallel processing. In a stage or flow rule, we can add smart shapes to achieve this parallel processing.

Smart shapes in pega

Pega has defined some smart shapes like Split JoinSplit-For-Each, and Spin-Off. We have to use these smart shapes in sub-process shape. Each shape can call one or more processes to proceed in parallel.

Spin-Off in pega

The spinoff is not a shape, it is an option in the sub-process shape. Which allows running the sub-process independent and in parallel to the main process. The main flow will not wait for the sub-process and no join options available for SpinOff processes.
spin off



Split For Each shape in pega

Parallel processing in Pega

We can allow users to perform multiple tasks independently to complete the work, in pega we can this as parallel processing. In a stage or flow rule, we can add smart shapes to achieve this parallel processing.

Smart shapes in pega

Pega has defined some smart shapes like Split JoinSplit-For-Each, and Spin-Off. We have to use these smart shapes in sub-process shape. Each shape can call one or more processes to proceed in parallel.

Split For Each shape in pega
Split for each allows us to run a single process multiple times by looping through a Page List or Page Group.
The main flow continues when processes on the PageList/PageGroup processed.
split for each shape in pega


Split Join shape in pega

Parallel processing in Pega

We can allow users to perform multiple tasks independently to complete the work, in pega we can this as parallel processing. In a stage or flow rule, we can add smart shapes to achieve this parallel processing.

Smart shapes in pega

Pega has defined some smart shapes like Split Join, Split-For-Each, and Spin-Off. We have to use these smart shapes in sub-process shape. Each shape can call one or more processes to proceed in parallel.

Split Join shape in pega

split join shape in pega


How to customize Get Next Work in pega

We can customize GetNextWork (GNW) logic in pega to meet our business requirements. Pega will follow default GNW logic to prioritize and get the assignment for the user to work on. Sometimes we will have a requirement to change the prioritization work, simply we can adjust the assignment urgency value (pyUrgencyAssignAdjust this is being used in declare expression), we can manually adjust the assignment urgency.

GetNextWork functionality in pega

What is GetNextWork in pega?

Pega provided functionality to get the most urgent assignment(task) for users to work on. This is configured on user portals with a button or a link. When a user clicks on it, pega will perform some criteria to get the most urgent work. This can improve user productivity, timelines to finish the work, ultimately customer satisfaction.
getnextwork pega

How to configure the GetNextWork button/link in portals?.



Parameterized data page in pega

What is the parameterized data page in the pega?

As we know data pages provide data for a system to use on-demand. On the first reference of the data page, the system creates a data page instance and loads data in the clipboard.
Read more on data pages in pega

Passing parameters to the data page (Parameterized data page) to fetch quick and exact data that you need on the situation from the source.