Bind records with the same value in a given field and convert them to new records.
Bind records by key fields and map them to a different record formatt.
Example:
As shown above, in the unconverted app, a team’s performance is represented by one record per quarter. The converted app summarizes the results for each team year and calculates the total annual points value.
First, get the records before conversion and set it to the Record parameter. For Key Fields, select team and year.
The important thing is conversion mapping, which allows aggregation of field values within the record bundled using aggregation functions as shown below. This example uses the sum function. To see what other aggregation functions are available, see the function list.
Value | Set To Field |
---|---|
= Team | Team |
= Year | Year |
= sum(points earned) | Total points |
In this example, we first group records with the same combination of team and year at the source and map them to one record at the destination. In this example, we will have four Groups called “Osaka,2021”, “Osaka,2022”, “New York,2021”, and “New York,2022”, so we will convert to four records.
The result of the action is the transformed record. Note that this record has not yet been saved anywhere. It is also not automatically saved. To save the converted record, connect to “Add Records from Other Records” etc.
Set the Record, Key Fields, Target app, and Mapping.
Select the Action you used to retrieve the target records.
Because of its nature, this Do is meaningless if it does not contain multiple records. Note that after connecting records with When One Row is Ready, the records will become one row, and the conversion will have no effect.
Select the key fields in the records. Multiple selections are possible.
This parameter accepts the following field types:
This parameter does not accept fields that are inside tables.
Specify the destination app.
The app does not store records, but is needed to determine the list of fields to convert to.
Enter the conversion mapping.
When referencing the source field value in this Mapping, the rule is as follows:
Criteria | Occurrence |
---|---|
When record Row Is Ready. | |
When All record Rows Are Ready |
“When One record Row Is Ready” occurs once per record converted.
If there were no records, neither would occur.