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

you have attached workflow on your catalog item ?

if yes then use the script on that workflow which is associated with your  item. 

No i have not, I am first trying out in personal instance. Okay will attach the WF & see. Is there any other way to do apart from WF??

field update can be done using workflow, the api which you  have used that's just for catalog item submission. so easy way would be add workflow to update the request short description. 

 

by the way once you will attach workflow ( workflow should be on RITM table ), it will create RITM and request, task  which is normal process of catalog request

 

I have one more doubt,

Writing glide record meaning for every request the short description will be same..??

Is there no possiblity that i can get the short description from Request body from REST API??

it depends on the input of the variables value. if you are passing same value in your variable on body then it will be same .

 

 

quick question,

i forgot to ask, what do you want to print in short description ?