How to use REST API in Business Rule?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2022 03:19 AM
Hello,
i have created a Scripted REST API, it’s a POST Method to create Changes and when I open it with the REST API Explorer I can submit values und send request.
Now my question: Is it possible to give values with my Business Rule to the Rest API?
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2022 09:18 PM
Understanding your requirement. I do not see any reason to use scripted REST API. Everything can be done via Business Rule.
Share your Business Rule, we can troubleshoot that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2022 03:26 AM
https://developer.servicenow.com/dev.do#!/reference/api/sandiego/server/c_RESTMessageV2API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2022 04:31 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2022 03:44 AM
Hello,
Refer below link -
https://community.snaplogic.com/t/servicenow-outbound-rest-with-a-business-rule/150
Regards,
Akshay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2022 04:31 AM