- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2022 01:08 AM
Hi All,
I have few checkbox on catalog task form. Where assign to person has to check those boxes if user has returned those items.
The checkbox which are true needs to be shown on notification. Attaching the screenshot for reference:
So in the notification it should come as:
Hardware Returns:
Mobile Phone,
Bag/Pack
Can anyone help??
Solved! Go to Solution.
- Labels:
-
Scoped App Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2022 04:01 AM
since your notification is on sc_task
use this
var reqitem = new GlideRecord('sc_req_item');
reqitem.addQuery("sys_id", current.request_item);
reqitem.query();
if(reqitem.next()) {
template.print("Hello3");
// add here logic to check variable value is true then only print
}
I already shared link for solution above
Regards
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
‎02-16-2022 01:14 AM
Hi,
your notification is on which table?
you would require email script for this to get those checkbox variables and if true then only print in email
did you start with it? where are you stuck?
Regards
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
‎02-16-2022 01:37 AM
I'm think to create notification on catalog task.
But not understanding how shall I start?
Can you help me
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2022 01:42 AM
Hi,
create notification on catalog task and then you can use email script
solution here
Pulling Variables to Email Notification
Regards
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
‎02-16-2022 02:52 AM
Hi
One more thing those checkbox ar hidden on RITM form. Only visible to sc_task form.
So email script should be same?
Shall I glide record to ('sc_req_item') table?