Copy StoreRecord In Loop
Description:
Copy StoreRecord in Loop
Use this action to copy the records of the datasource that exists in the array of records generated by the action loop records in some other datasource.
For example, you want to copy the records where attributea1 is not null into the datasource D1.
In this case, you can use Action Copy StoreRecord in Loop inside the action loop records where enable condition will be #{a1} != null and target datasource alias will be the datasource where you want to copy the records.
Allowed Parent Components:
Loop
Loop Records
Allowed Child Components:
Set Value
Properties
➤ Enable Condition
Specify an expression that should be evaluated to a boolean [e.g. #{dsAlias.attr1} == 'X' && #{dsAlias.attr2} > 1]. If no expression is specified, it will be considered as true.
Allowed Values: An expression which should return boolean after evaluation
➤ Target Data Source Alias
Choose the target data source alias
Allowed Values: Choose the target data source alias
➤ Create As New Record
Check this if you want the source record to be inserted as new record into the target data source. Or else it will be copied into the current record of the target data source
Allowed Values: Yes/No
Last updated