The CreatorCon Call for Content is officially open! Get started here.

What is Script Background - 'sys.scripts' ?

shaik_irfan
Tera Guru

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 ?

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

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

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

7 REPLIES 7

We have a Client Requirement where we need to build a Portal for an Interview there we will have questions , answers  and interview candidate needs to write the scipt

Hi Shaik,

Got it; But I doubt this can be done

One approach you can try is:

1) create a table with one column as script type

2) make the user type the script there

3) the record is saved

4) now to trigger the script inside that script type field use this

https://developer.servicenow.com/app.do#!/api_doc?v=newyork&id=GlideEvaluator-GlideScopedEvaluator

Regards

Ankur

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Thank you Ankur. I have a thread open for this if possible can you please share some example matches my use case ?

 

https://community.servicenow.com/community?id=community_question&sys_id=77dd9ad3db4944106064eeb5ca96...