String or number in property
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2023 06:37 AM
I'm doinf
idt.setHttpTimeout(6000);
but if want this 6000 to populate through property then how can i do it? the system property will be string or integer??

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2023 06:43 AM - edited 09-22-2023 06:50 AM
It should be an integer
Please leverage this article to see how it created:
Add a system property (servicenow.com)
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2023 06:46 AM
Create a Property of type integer and add 6000 in the value. Give it a meaningful name and description.
Then you can fetch the value like this
var myProp = gs.getProperty(‘property_name’); //you the property name you created
idt.setHttpTimeout(myProp);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2023 07:14 AM
Hi @Akki1 ,
You can select type as shown.
Please check and Mark Helpful and Correct if it really helps you.
Regards,
Mayur Shardul