- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2023 12:15 PM
Hi all,
I would like to open changes from standard templates with REST API using the endpoint:
POST /sn_chg_rest/change/standard/{standard_change_template_id
However the target templates has tasks defined in them marked with 'mandatory' field both true and false. When I open a change now through the API, only the mandatory tasks get opened with the change ticket.
Can I specify which tasks I want to be opened from the template during the change opening request?
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2023 07:58 PM
Hi @TViktor88
unfortunately not. If you are using standard ServiceNow API you have to live with the results.
Instead, you could implement your own endpoint via Scripted REST API and try to achieve your goal with a custom scripted approach.
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2023 07:58 PM
Hi @TViktor88
unfortunately not. If you are using standard ServiceNow API you have to live with the results.
Instead, you could implement your own endpoint via Scripted REST API and try to achieve your goal with a custom scripted approach.
Maik