How To Use Functions Data Transform In Pega
Data transforms
The purpose of a information transform is to manipulate information in an application. Data transforms copy or dispense data into the form you require. Data transforms tin can be used to convert information from one type to another, iterate over page lists, or page groups and re-create entire pages at a time.
Consider the checkout process of a purchasing application. The customer provides a shipping address and is prompted to provide a billing address. The billing address and shipping accost are likely the same. It is more efficient to use a data transform to copy the aircraft accost to the billing address rather than have the customer reenter the shipping accost. Further, into the checkout process, the customer must provide their full name for credit card processing. Employ a data transform to copy the first name and last name properties from the customer account into a unmarried full-proper noun property.
You can utilise data transforms to convert data from one type to another blazon. For example, to complete the checkout process in the purchasing awarding, the customer must provide their menu number in the payment gateway. Use a data transform to copy and catechumen the stored string format credit card information into the carte number holding.
Note: To convert the cord into a number, open the expression builder, click the Configure icon, and apply the out-of-the-box (OOTB) functions available in Pega Platform™. In the credit menu number instance, you tin use the toInt() function.
Yous can call a information transform from a flow. In a flow, click the connector to open the Connector properties window. In theSet backdrop section, select Apply data transform.
Consider another example. An auto repair parent example has a child case that handles providing the necessary repairs. The child instance contains a card 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. Use a information transform to iterate over the list of possible items and services and only copy those entries with a quantity greater than zero.
Tip: When accessing information in different cases (for example, in a parent-child case relationship), consider referencing data from the parent case rather than copying information from the parent case to the child case. Reference information to avoid synchronization issues if data changes on the parent case.
Check your knowledge with the following interaction.
How To Use Functions Data Transform In Pega,
Source: https://academy.pega.com/topic/data-transforms/v2
Posted by: griecoupinedegs.blogspot.com
0 Response to "How To Use Functions Data Transform In Pega"
Post a Comment