- 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
‎12-31-2024 05:46 AM
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2025 11:10 PM
Hi,
Already i have gone through your explaination, but unable to get the logic. So can you please explain it in a simple way....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2025 11:36 AM
Hi @Sandeep Rajput @Deepak Negi @AshishKM experts can you help here.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2025 06:11 PM
@RameshreddyE Here are some explanations.
Run Script: Run script is usually used in case of a workflow activity to perform CRUD (Create, Read, Update, Delete) operation on a table. Run script only runs inside a workflow.
Transform Script: As the name suggests, transform scripts are used to transform the data of an import/staging table to data which the target table expects. E.g. Staging table contains an email id field, this field is used in the transform script to fetch the user id of an existing user.