How to access global system properties in scoped application flow designer?

sapnapraveen
Tera Contributor

How to  access global system properties in scoped application flow designer.

Thanks in advance.

 

9 REPLIES 9

Hi,

Are you able to get the value from background script in the global scope

what does that property contain?

Regards
Ankur

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

Can you share your whole code? And try creating the same property in scoped app and see if its working or not.

Hi Pranav,

 

Tried creating the property in scoped app, still issue remains the same.

find_real_file.png

which property you created in this? Instance name is OOB.

Try these 2 methods

 

1. Store it in a variable and add a info msg and see if you are getting a log

eg

var instanceName = gs.getProperty('instance_name');

gs.info(instanceName);

 

2. Try to hardcode the property value in the code and see if its working or not(maybe there is some different issue)

 

 If you are not able to get the solution, ping me on pranavbhagat06@gmail.com and I will connect over webex and help you.

Hi Pranav,

Thanks for the suggestion. will try the suggestion proposed by you.

and will update.

Regards,

Sapna Praveen