- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2019 05:38 AM
Hi,
We all know what is the use of Scripts Background but can anyone please help how it is designed at the backend ?
When i see the module of Scripts - Background i see it is linked as URL and in the Argument it is mentioned as sys.scripts.do
can anyone please let me know from where it is called i dont see any UI Macro / UI Scripts / UI Page / Table with this name ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2019 09:15 AM
Hi Shaik,
there are many such pages which are not accessible to developers/admins
Only platform level developers might be having access to that
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2019 09:08 AM
Normally in Servicenow, you will be updating only record in the UI, either by changing the state or other form operations.
There might be a scenario, where you want to update bulk records like closing the incident that was older than 2 years.
In that case if the record count is too high, it might be difficult for us to do update to the record and in that case, we will be writing background script by navigating to system definition > Background script.
The arguement that was referred is "sys.scripts.do", which will open a new page for us to write a background script.
You can see a lot of example for background scripts in Servicenow Docs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2019 09:15 AM
Hi Shaik,
there are many such pages which are not accessible to developers/admins
Only platform level developers might be having access to that
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2019 09:24 AM
By any chance we can build Script Evaluator similar to Servicenow Background Scirpts >
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2019 09:30 AM
Hi Shaik,
What is the special requirement for this if already scripts background is present?
Is this something related to client requirements etc or something personal you are trying to explore?
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader