Rest Messages and System Properties
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-08-2020 11:05 AM
Hello, I am working with Rest Messages and scheduled imports to make a rest request. following the servicenow docs
https://docs.servicenow.com/bundle/newyork-application-development/page/integrate/outbound-rest/task...
I see that the endpoint may include variables using the format ${variable}. I currently have a system property an.example.property that I am using as a parameter for the endpoint field in the format ${an.example.property}. Running tests on this endpoint I am seeing that the endpoint field is not being populated with the system property value. Am I using this correctly?
- Labels:
-
Scoped App Development

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-08-2020 12:15 PM
Hi,
Yes. Using gs.getProperty(); and assigning it to a variable, like you've done, should accomplish what you were trying to do. Have you checked the end result?
Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-08-2020 12:31 PM
will implement and then mark your answer as correct if all goes well. Thank you for the fast replies