- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2022 11:32 AM
Hi Team,
I want to display the variable in notification which is available on the catalog form, i will create the notification on sc_task table, before that
Can anyone suggest the sample email script here.
Assume variable name is "end_date_time".
Thanks in advance
Solved! Go to Solution.
- Labels:
-
Service Catalog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2022 11:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2022 09:23 PM
Hello
If you have created the field on incident uou can change the code to below.
Now because uou wnat to do it via mail script so the below is fine
template.print(current.end_date_time)
Please mark answer correct/helpful based on impact

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2022 09:24 PM
Hi,
As you have column on incident form then you can access it directly in email body same as incident state: ${incident_state}
If you want to print value through email script then use current.u_end_date_time
Thanks,
Anil Lande
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2022 09:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2022 09:36 PM
Hello
Remove that varibales from the script line Use
template.print(current.u_end_date_time);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2022 09:42 PM