- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2019 02:36 AM
Hi
I have doubt regarding Submit Order(POST) in Service Catalog API. I am able to create an REQ/RITM using REST API.
I want to get Short Description to be reflected in the list.
I hope you all have understood my question.
Thanks & Regards,
Vaishnavi
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2019 04:15 AM
Personally, I would add this as one of the first steps in your workflow, so before any approvals/tasks.
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2020 11:33 PM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2020 11:36 PM
Looking at the variables you are passing, I see some strange single quotes, with formatting. At the branch variable. Have a look at that.
Kind regards,
Mark
---
LinkedIn
Community article list
Kind regards,
Mark Roethof
Independent ServiceNow Consultant
10x ServiceNow MVP
---
~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-01-2020 11:46 PM
Thank you 🙂 🙂

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2019 02:44 AM
your api will use to create a request by getting some variable value. rest of the part will be done on workflow.
you can define it inside your workflow to update request short description.
use glide record to update the short description.
var gr = new GlideRecord('sc_request');
gr.get(current.request);
gr.short_description = current.variables.<variablename>
gr.update();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2019 03:21 AM
Workflow you mean?? i actual service request WF??
The process which i followed please have a look,
From Navigation,
Going to-> Scripted Rest API's->Name: Service Catalog API -> On Opening that,
I have selected Add Item to Cart to open. Then clicking on Explore REST API
Then I have given sys_id of catalog item for which i want to raise a request.
Then the values of variables i want o display,
Then click on submit.
Then go to Submit Order(POST).
After i click on Submit Order and send the form without any modifications Request is created with the variables and values given.
I search for the request its created. But i want to give REQ short description also. Can anyone help me with that...??
Thanks in advance,
Vaishnavi
If my answer helped you in any way, please then mark it as helpful.
Kind regards,
Mark
---
LinkedIn
Community article list