Adding a variable summary to RITM/SCTASK work notes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2020 11:37 PM
When we are ordering a catalog item, i need a summary of all the variables to be posted as work notes.
We have something called approval summarizer which gives a summary of variables in the approval record. I want a similar implementation in RITM worknotes or replace the variable editor with this.
Any help will be appreciated.
- Labels:
-
Request Management
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2020 11:49 PM
Hi,
you will have to write custom code for this; before insert on sysapproval_approver table and for your catalog item
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-04-2020 11:55 PM
Hello,
Okay Thank You. Any idea what should be my approach.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2020 12:10 AM
Hi Subjajit,
please check below links; it helps how you can get variables of RITM in server side script
once you get these you can populate the work notes via BR
https://community.servicenow.com/community?id=community_question&sys_id=5ce04c031b2700107a5933f2cd4bcb5b
https://community.servicenow.com/community?id=community_question&sys_id=daedfa98dbb744d423f4a345ca961958
https://community.servicenow.com/community?id=community_question&sys_id=518743a9db1cdbc01dcaf3231f9619bd
Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-05-2020 12:11 AM
Hi,
You can achieve this using workflow cataloag task activity.
Go to the script in catalog task and check the advanced checkbox write the script in Advanced script field.
Please follow the below screenshots:-
1. Workflow catalog task script:-
2. Catalog task view:-
If i was able to solve your query, please mark my answer correct and helpful.
Thanks & Regards
Prasant kumar sahu