how to pass values from scheduled job to notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2024 07:12 AM
Hi,
I have tried the below script to trigger notification from scheduled job, but it didnt pass the value. pls assist me to required changes.
Scheduled Job:
Notification:
Notification Message:
Good morning,
The following computer in your name has not been connected in 30 days:
Computer Name Days Stale Description Last Logon Date
${event.param1} 30 ${event.parm2} ${event.parm3}
Please log on to this computer as soon as possible and let me know once you have done so. If it is not logged into soon, it will be quarantined.Feel free to contact your local IT support if you have any questions.
Thank you,
{Signature Block}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2024 07:35 AM
As you're passing the record "gr" into the event, you don't need to pass any parameters really. In your notification you can just access the values of the record by doing ${name}, ${short_description}, ${checked_in}