- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2017 03:24 PM
I have a transform map that has a field that I am coalescing on. When I import my data if there are no changes on a record SN will ignore that record and continue to the next record. If I have an onBefore transform script, will this run if the target record will be ignored.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2017 03:34 PM
Onbefore script runs before target records is created, updated.
Regards,
Sachin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2017 03:34 PM
Onbefore script runs before target records is created, updated.
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2017 03:38 PM
Yes, It will run. Check by adding logs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-11-2017 03:43 PM
I can confirm it will Run. I even just tested the same scenario by adding a log using gs.log(source.u_name) in the onBefore script.
For the record inserts, updates and even for records which got ignored I found a log record.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-12-2017 09:57 PM
Hello Phillip,
Please, refer the below blog post that will clear your doubts.
Validating the order of execution for transform map scripts by martygrinstead