Adding a variable summary to RITM/SCTASK work notes

Subhajit Mukhe1
Kilo Expert

When we are ordering a catalog item, i need a summary of all the variables to be posted as work notes.

find_real_file.png

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.

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

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

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Hello,

Okay Thank You. Any idea what should be my approach.

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

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Prasant Kumar 1
Kilo Sage

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:-

find_real_file.png

 

2. Catalog task view:-

find_real_file.png

 

If i was able to solve your query, please mark my answer correct and helpful.

Thanks & Regards

Prasant kumar sahu