How to create variables associated with a Standard Change request using API
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2022 11:30 AM
I am trying to use the SN API to work with and create standard changes that have a Variable Set associated with them that stores variables/info about the request.
I have been able to locate the variables I need from the question_answer table, however, there does not, so far, appear to be a way to populate those variables using the SN APIs. I can query the values but cannot populate them. I tried submitting the variables in json as part of the request to create the CHG but they still do not get populated, even though the CHG is created successfully. Any thoughts how to create those variables outside of the UI would be appreciated. Thank you.
- Labels:
-
IntegrationHub
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2022 11:04 AM
Thank you suvro,
The KB article wasn't quite spot on because the term "submit producer" didn't appear in my developer tools logs. However, I was able to get enough info from it to produce the request that I needed in order to submit the CHG via the API, so thank you again!
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2022 12:43 AM
Hi Jeff,
Glad to know that article helped you in resolving your issue. You can share what changes you did apart from what is mentioned in the article for everyone's knowledge.
Thanks and Regards,
Chandra