Submit Order(POST) - Service Catalog API - Scripted REST API

Vaishnavi35
Tera Guru

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.

find_real_file.png

I hope you all have understood my question.

 

Thanks & Regards,

Vaishnavi

1 ACCEPTED SOLUTION

Personally, I would add this as one of the first steps in your workflow, so before any approvals/tasks.

find_real_file.png

find_real_file.png

If my answer helped you in any way, please then mark it as helpful.

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

LinkedIn

View solution in original post

21 REPLIES 21

The request which has been asked me to do is short description be shown while creating SR through REST API.

 

Like how I am giving catalog item variables in the Response body(Add item to cart).

find_real_file.png

For Request i want to show the short description.

find_real_file.png

This is Short Description variable to the catalog item.

I want for REQ.

find_real_file.png

Thanks,

Vaishnavi

 

here is the flow.

show you will pass the value in short description variable while requsting it using api. 

once request will be created you will use the script which i had shared in my first response on your workflow to update short description variable value to request short description field. 

give a try.