How to correctly post a standard change request via rest api
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2020 04:47 PM
Hi,
I am testing creating a standard change through the rest api. I have created one through the api explorer by posting to the change_request table and supplying the sysparam_id of the standard change template to the std_change_producer_version field of the change and some of the other fields that are not automatically filled through the template. the change is posted like i want, a new record is created and standard change details are all there but it seems to create 2 extra change tasks on top of what already is created through the template
The bottom two are automatically created when I manually open this standard change through change request catalog. Those top two look like they created when the change is created as well. Is there a better way to create a standard change so it does not create these extra two change tasks before applying the template?
- Labels:
-
Integrations

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2020 01:29 PM
Hi,
it'll be worth checking to see if a workflow is being attached incorrectly to the standard change and behaving like a normal change. That, or a business rule is creating the additional tasks. The API is working fine as you've indicated however something else is interfering
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2020 04:23 PM
How would i check that? All i have access to is the api explorer.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2020 01:23 AM
You'll need to ask your servicenow administrator