- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 02:07 AM
Hi ,
I am seeing the auto close incidents in Schedule (sys_trigger).
But when i see that same name in Scheduled job (sysauto_list) . I did not found that same name?
Help me where could be hidden?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 02:33 AM
scheduled job creates a trigger once and it is called as per the interval.
I think it is configured like this only OOB as there is no mention of scheduled job in servicenow docs as well.
Please mark the answer correct/helpful accordingly.
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 02:13 AM - edited 11-28-2022 02:16 AM
You will not be able to find the schedule job because it does not exist.
the fcScriptName (incident autoclose) is the name of an OOB BR on incident table which is run by this trigger.
If you open the Job ID of this script, it explains you how this works with this syntax.
Please mark the answer correct/helpful accordingly.
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 02:26 AM - edited 11-28-2022 02:40 AM
@RaghavSh - Yes i saw the business Rule , but how does it trigger to schedule (sys_trigger) is getting added.
And also this doesnt have any condition , then how it will work?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 02:33 AM
scheduled job creates a trigger once and it is called as per the interval.
I think it is configured like this only OOB as there is no mention of scheduled job in servicenow docs as well.
Please mark the answer correct/helpful accordingly.
Raghav
MVP 2023
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2022 02:42 AM
It only exists in that table - it works the same way as a scheduled job, but here it is triggering a business rule and it runs every hour as you can see in your screenshot. So there is no record in sys_auto!
Best regards,
Sebastian Laursen