For a Particular Catalog Item is submitted means, Auto update the Cat REQUEST Short description
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2023 06:37 PM
Hello All,
I am new to ServiceNow, Please help me I wanted to auto update Short Description or other fields of Catalog REQ, if a particular catalog Items are ordered.
I used Before & After Business Rules, I can not able to filter out via catalog item sys_id. please reply with which table to selected in BR.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2023 06:18 AM
Hi @arun2324
You mean, after submission you want to update the Short description of REQ and what other fields means?
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2023 07:25 PM
Hi Atul,
Thanks for the reply, I figured it out, I can do it by workflow of that particular RITM by placing run script in the beginning of the workflow, script is below:
var grRequest = new GlideRecord ("sc_request");
grRequest.get(current.request); //very important line.
grRequest.short_description = "As per my Request";
grRequest.update();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2023 08:18 AM
Thanks @arun2324
If my answer serve the purpose please mark helpful and solution accepted.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************