Why background scripts and fixed scripts are used ? And what are the difference between background scripts and fixed scripts
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2022 12:24 AM
What is background scripts and in which scenario it can be used ?
What are fixed scripts and in which scenario it can be used ?
What is the difference between background scripts and fixed script?
Getting confused what to use and when to use.
Can anyone please help me with my questions
Thanks in advance????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2022 12:43 AM
Hi
Please find the below URL for the Fix script and Backgroud script with examples for reference
https://community.servicenow.com/community?id=community_blog&sys_id=677f8b23db646810b1b102d5ca9619b4
Please mark the response as Helpful/Correct, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-18-2022 01:08 AM
Hi,
1. Background script used for mass creations, updates, and deletions of records. Also, used for troubleshooting the server side scripts and cannot save the script and can't move to update set.
2. Fix script is server-side JavaScript code that you run after an application is installed or upgraded. we can save the script and move to update set as well.
when to Use fix scripts to add, update, and delete data, including rules, scripts, and property settings.
related links:
https://community.servicenow.com/community?id=community_question&sys_id=3e427075dbeb5344200f0b55ca961945
https://community.servicenow.com/community?id=community_blog&sys_id=677f8b23db646810b1b102d5ca9619b4
https://docs.servicenow.com/en-US/bundle/tokyo-application-development/page/script/server-scripting/concept/c_ScriptsBackground.html
https://docs.servicenow.com/bundle/quebec-application-development/page/build/applications/concept/c_FixScripts.html
Hope you it helps you.
Please Mark ✅ Correct/helpful if applicable, Thanks!!
Regards
Pavankumar
ServiceNow Community MVP 2024.
Thanks,
Pavankumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-21-2022 07:36 AM
Hi,
If it is resolved please close the thread by Marking as ✅ Correct so that other readers will get benefit if they have similar question.
In future they will refer this one get benefited.
Hope you understood.
Regards
Pavankumar
ServiceNow Community MVP 2024.
Thanks,
Pavankumar