- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-30-2024 10:20 PM
I have gone through multiple use cases for Transform scripts, Source script and Run script, But unable to understand that which script we use for which requirement or use case. So can any one help me in this.....
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2025 07:39 PM
I believe you are referring to scripts available during transformation
1) field map script -used to handle field map values
2) Run script option available in transform map - similar to onBefore
3) Transform scripts (onBefore, onStart, onAfter, onComplete) etc - different types based on diff requirements
good explanation here on sequence
Validating the order of execution for transform map scripts
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2025 07:39 PM
I believe you are referring to scripts available during transformation
1) field map script -used to handle field map values
2) Run script option available in transform map - similar to onBefore
3) Transform scripts (onBefore, onStart, onAfter, onComplete) etc - different types based on diff requirements
good explanation here on sequence
Validating the order of execution for transform map scripts
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader