- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 12:37 PM
Hello,
I am updating the email template for the table - Approval [sysapproval_approver]. I am trying to get the comments field from the catalog item to appear in the email so the approver has context on what the requestor is asking for, using the following:
Created by: ${sys_created_by}
Number: ${sysapproval.number}
<div>Short Description: ${sysapproval.short_description}</div>
<div>Comments: ${sysapproval.comments}</div>
<div>Priority: ${sysapproval.priority}</div>
<div>Category: ${sysapproval.category}</div>
But it is not appearing in the approval email when being sent to the requestor.
I am sure that I am doing something wrong, can anyone advise?
Thank you,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 01:01 PM
Hi @kal123,
Instead of ${sysapproval.comments}, try ${sysapproval.variables.comments}.
Since the user's input from the catalog item is stored in the variables object, you will have to dot-walk.
On a side note, it seems like you are creating a notification for this particular item's approval.
If so, you should rethink about creating a generic notification instead that can be used across all types of approvals.
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2024 01:01 PM
Hi @kal123,
Instead of ${sysapproval.comments}, try ${sysapproval.variables.comments}.
Since the user's input from the catalog item is stored in the variables object, you will have to dot-walk.
On a side note, it seems like you are creating a notification for this particular item's approval.
If so, you should rethink about creating a generic notification instead that can be used across all types of approvals.
Cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-30-2024 07:05 AM
Thank you for the help! This worked and is now pulling the information needed into the approval email. I will also create a generic notification for all approvals going forward!
Thanks again!