- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2022 06:36 AM
Hello
we have a scheduled job, we need to run on the finish of the transform map, can we do that ? if yes can you please share how to do that ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2022 06:40 AM
Hi,
Sure. You can use an onComplete transform script, for example, to trigger a scheduled job. Script example can be reviewed from this thread: https://community.servicenow.com/community?id=community_question&sys_id=1cf8b35fdb7e9bc05ed4a851ca96...
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2022 06:40 AM
Hi,
Sure. You can use an onComplete transform script, for example, to trigger a scheduled job. Script example can be reviewed from this thread: https://community.servicenow.com/community?id=community_question&sys_id=1cf8b35fdb7e9bc05ed4a851ca96...
Please mark reply as Helpful/Correct, if applicable. Thanks!
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2022 06:46 AM
Hello Rudra,
Write the below in the onComplete transform script
var schImp_GR = new GlideRecord('sysauto');
schImp_GR.addQuery('name','<name>');
schImp_GR.query();
if(schImp_GR.next()){
SncTriggerSynchronizer.executeNow(schImp_GR); // this is for global scope
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2022 06:50 AM
Thanks.
Which is what I said above and the exact script that is in the link that I've already posted that you copied and put here.
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2022 06:55 AM
Yeah, Please mark Allen's answer as the correct/helpful one if applied.
Thanks.

Hope this helps. Please mark the answer as correct/helpful based on impact.