After Transform Scripts Vs Business rule

Priya123
Tera Contributor

Have a requirement where i need to update certain fields on the customer project table after an import happens 

what would be best ? an after transform script or a BR ??

any suggestions or docs?

2 REPLIES 2

Mitesh L Pitrod
Tera Contributor

onAfter transform script is a better option as it will run for the set of records which are inserted as part of the insert activity and it's easy to maintain.

In case of business rules the condition is validated multiple times.

Niklas Peterson
Mega Sage
Mega Sage

Hi @Priya123 ,

 

OnAfter transform script if it's only related to the import but if the logic can apply to other updates as well then I would go for a BR. So it depends a bit on the use case. A BR can better manage multiple import sources and even manual updates.

Regards,
Niklas