On Before Transform scripts

yoli1
Tera Contributor

Hello team, I have three On Before Transform scripts, and each of them sets the ignore variable to true if specific conditions are met. A record can meet conditions in both On Before Script 1 and'On Before Script 2, which results in the ignore variable being overwritten. Should i consider reordering the execution of these scripts or would it be more effective to consolidate these conditions into a single script? Thanks!

2 REPLIES 2

Are Kaveri
Tera Contributor

@yoli1  Please consolidate into one onBefore script in a transform map to get rid of ordering of the scripts. 

Zaafira
Tera Contributor

It would be better to consolidate it into one onBefore script so there is not an issue with the ordering of the scripts, since you effectively want to run those conditions at the same time.