Notifications current.variables.variable name is not printing the value of variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 11:12 AM
Hi , I have created a notifcation , In that i am using current,variables.variable name to get catalog item field but this not printing it ,
Notification :
Dear ${approver.first_name},
On ${sysapproval.sys_created_on} your employee ${sysapproval.task_for} submitted a service request for:
${sysapproval.number}– Request new Gen AI SW for ${current.variables.u_software_service} , for ${current.variables.u_price} USD per month and duration of ${current.variables.u_duration} months, with total cost of ${current.variables.u_total_amount} .
{if approved, the employee will have to subscribe by himself/herself and get reimbursed through My Expense}
Please approve or reject/decline the request.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 11:30 AM
Hello @avinashdubey103 ,
Please test with the below script once and let me know how it works for you.
Dear ${approver.first_name},
On ${sysapproval.sys_created_on}, your employee ${sysapproval.task_for} submitted a service request for:
${sysapproval.number}– Request new Gen AI SW for ${current.variables.u_software_service.getDisplayValue()}, for ${current.variables.u_price.getDisplayValue()} USD per month and duration of ${current.variables.u_duration.getDisplayValue()} months, with a total cost of ${current.variables.u_total_amount.getDisplayValue()}.
{If approved, the employee will have to subscribe by himself/herself and get reimbursed through My Expense}
Please approve or reject/decline the request.
${mailto:mailto.approval.accept} ${mailto:mailto.rejection.accept}
Let me know your views on this and Mark ✅Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.
Regards,
Aniket
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 11:39 AM
Hi , Still facing the same issue
The variable are stored under a variable set , is that creating a problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 11:44 AM
Hello @avinashdubey103 ,
Is it belongs to MRVS or normal variable set?
Also you can try to use mail script for this as well by using glide record and see how this works.
- Let me know your views on this.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 11:45 AM
Normal variable set