PEGA(Low-Code App Builder)Grouping related data

Field group

    字段组和字段组列表可用于创建单值数据对象之间的关系。
    例如,当客户注册一个视频流媒体账户时,他们会提供基本信息,如姓名和电子邮件。电子邮件字段中提供的值必须与客户的名和姓相关联,因为该电子邮件属于该客户。这三个关联的值可以在Customer字段组中捕获。
    字段组是包含多个字段的单个实体。字段组本身并不存储数据,而是充当关联一组相关字段的容器。在Customer字段组示例中,字段组为名、姓和电子邮件字段建立公共上下文。这些字段都包含描述客户的数据,如下图所示。

Insert picture description here

Field group list

Similar to field groups, the field group list captures associated data. The difference is that the list of field groups (as the name indicates) is a list of field groups or grouped values.
For example, this video streaming company conducts marketing activities by using customer information collected when users register for an account. The activity case type uses the current customer field group list, which includes each customer’s email and name, in order to market to a group of customers, as shown in the following figure.
Insert picture description here
The field group list allows different marketing activities to use customer information. Each marketing campaign can have a different customer list based on market segments. A marketing campaign for users who watched French horror movies in New York City included 5,000 different customers in the field group list. Another marketing campaign is aimed at users from San Francisco, California who watch American science fiction movies. There are 50,000 different customers in the field group list.

Data in field groups and field group lists

The data type defines the fields in a field group or field group list, and is used as a template for creating a field group or field group list. You can create a field group or a list of field groups using existing data types. Each field group or field group list does not have to use all defined fields, but they are all available. For example, you can use customer field groups to capture user customer information, including first name, last name, email, username, and password. You can use the same customer field group to display information on the confirmation page. Since the user only needs to confirm the full name and email, the username and password are not displayed, but the data will be stored in the field and associated with the displayed value.

The field group list is used as a template for each grouped field instance. In the field group list, each value follows the field type configuration setting. For example, you want to collect reference information of job applicants in a field group list, which includes the job applicant's full name, company, phone number, and email. You can configure the full name and contact number fields as needed so that each new field under the full name and contact number columns has the same settings. In the picture below, when the applicant did not enter Shaun Mills' phone number, he would receive an error message.

Insert picture description here
You can also configure the list of field groups to allow end users to add, delete, or update items as needed. For example, the References field group list is displayed as a table containing three groups or three rows of related values. The applicant can add a fourth reference to the list by clicking add item.
Field groups can contain a list of field groups. For example, in an online shopping application, customers can have multiple credit cards associated with their account. In the image below, the Customer field group captures the customer's full name, username, password, and credit card. In the Customer field group, the credit card field group list captures the card number, expiration date, and verification code. The data is stored in fields in the customer field group and credit card field group list. Each customer can store multiple credit cards on the account.

The difference between a field group and a field list: a
field group is a single entity. For example, in an online ordering application, customer is an example of a field group that contains fields for customer name and contact information. The field group list is a list of grouped items. The line items that make up the purchase request are an example of a list of field groups.

Guess you like

Origin blog.csdn.net/weixin_42898315/article/details/108482949