Extending to other payment types
Pega Smart Dispute™ Agentic Automation (SDAA) accommodates both card (plastic) and non-card (non-plastic) disputes and serves as a foundational layer that can expand into either a card-based or non-card-based workflow. The Model Workflow Smart Dispute Agentic Automation application is built on the Pega Customer Service for Financial Services (CSFS) application, the Common Data Model (CDM), and the Model Workflow (MWF) framework, and also includes Model Workflow template Case Types.
Case Types
The SDAA application contains an implementation layer. However, clients must run the New Application wizard to create their own implementation.
SDAA contains the following Case Types:
Initiate dispute: Used for initiating disputes and is linked to all disputed transactions.
Dispute: Manages the lifecycle for disputed transactions. This is a model Case Type that you can use as it is to provide a generic dispute process, or that you can specialize into payment-specific Case Types.
Creating new payment type
SDAA application provides a model dispute (payment exception) Case Type that is meant to be extended to support new payment types and their specific processing needs.
Below are the high-level steps for adding a new payment Case type:
- In App Studio, in the navigation menu, click Case types.
- On the Case types landing page, click New.
- In the dialog box:
- Enter a name for your Case Type.
- Expand the Advanced section.
- Reuse assets from Payment Exception.
- Check the Reuse Case life cycle.
- Click Next.
- The process creates the Case Type and opens your new Case Type.
The following figure shows the Create Case Type view:
Payment network settings
To support your new Case type, you need to define it as a valid payment network type in the D_ApplicationSettings application extension data page rule. The following steps are required.
- In the PegaFSPE-Data-AppExtension class, create a new property to store the value of the payment network. For example, to add Venmo as a payment type, the pattern for the property name is <CaseType>PaymentNetwork (VenmoPaymentNetwork) and must be of theText type.
- Save a copy of PegaFSPE-Data-AppExtension.GeneralSettings_PE data transform Rule into your implementation Ruleset.
- Update GeneralSettings_PE to set the value of your payment network property created in step 1 to a text identifier to represent the new Case type (Venmo).
- Save the Rule.
The following figure shows General settings for payment exception application Data Transform:
Work Class settings
To instantiate your new Case type, you must define it as a valid work class in the D_ApplicationSettings application extension Data Page Rule. The following steps are required.
- In the PegaFSPE-Data-AppExtension class, create a new property to store the value of the work class. The property name must be of type text.
- Save a copy of PegaFSPE-Data-AppExtension.ClassSettings_PE Data Transform Rule into your implementation rule set.
- Update ClassSettings_PE to set the value of your work class property created in step 1 to a class of the new Case type.
- Save the Rule.
The following figure shows Class settings for the payment exception Data Transform:
Enable a new payment type
To enable instantiation of your new Case Type, you must update Common-LDM-Entity-Transaction.EvaluateTransactionNetwork decision table Rule. This Rule uses inputs from the transaction information to determine which dispute Case Type to invoke. To extend this Rule, you must save it into your implementation rule set. This rule is invoked during the transaction search at which time it sets a property on the results of which payment network the transaction should be attributed.
This rule references the new dispute work class field previously added to the D_ApplicationSettings in the Return column.
The following figure shows the Evaluate transaction network decision table:
If you want to create a new claim type similar to the dispute type, update the EvaluateClaimProcessingClass decision table.
The following figure shows the Evaluate claim processing class decision table:
This Topic is available in the following Module:
Want to help us improve this content?