On Before Transform scripts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2023 10:49 AM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2023 10:55 AM
@yoli1 Please consolidate into one onBefore script in a transform map to get rid of ordering of the scripts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-10-2023 02:03 PM
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.