How To Use Functions Data Transform In Pega
Data transforms
The purpose of a data transform is to dispense information in an awarding. Data transforms re-create or manipulate information into the form you require. Information transforms can be used to convert information from ane type to another, iterate over page lists, or folio groups and copy unabridged pages at a fourth dimension.
Consider the checkout process of a purchasing application. The customer provides a aircraft address and is prompted to provide a billing address. The billing address and aircraft address are likely the same. Information technology is more efficient to use a data transform to re-create the shipping address to the billing address rather than take the customer reenter the shipping accost. Further, into the checkout process, the client must provide their full name for credit card processing. Use a information transform to copy the commencement name and final name backdrop from the customer account into a single total-name property.
You can employ information transforms to convert data from one type to another type. For example, to consummate the checkout procedure in the purchasing application, the customer must provide their carte du jour number in the payment gateway. Apply a information transform to copy and convert the stored cord format credit carte information into the menu number property.
Note: To catechumen the string into a number, open the expression builder, click the Configure icon, and utilise the out-of-the-box (OOTB) functions bachelor in Pega Platform™. In the credit carte number example, you can use the toInt() role.
You tin call a data transform from a flow. In a flow, click the connector to open up the Connector backdrop window. In theSet properties section, select Use data transform.
Consider another example. An automobile repair parent case has a child case that handles providing the necessary repairs. The child case contains a menu of possible items and services that can exist provided, including unit of measurement costs. The items and services that are provided are copied to the parent case for invoicing. Employ a data transform to iterate over the listing of possible items and services and only re-create those entries with a quantity greater than goose egg.
Tip: When accessing information in unlike cases (for instance, in a parent-kid case relationship), consider referencing information from the parent case rather than copying information from the parent case to the child case. Reference data to avoid synchronization problems if data changes on the parent example.
Check your knowledge with the post-obit interaction.
How To Use Functions Data Transform In Pega,
Source: https://academy.pega.com/topic/data-transforms/v2
Posted by: bakerbeforning1959.blogspot.com
0 Response to "How To Use Functions Data Transform In Pega"
Post a Comment