After Transform Scripts Vs Business rule
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā11-02-2023 06:53 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā11-02-2023 07:10 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā11-02-2023 07:20 AM
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