Notifications current.variables.variable name is not printing the value of variable

avinashdubey103
Tera Guru

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.

 

${mailto:mailto.approval.accept}    ${mailto:mailto.rejection.accept}

 

4 REPLIES 4

Aniket Chavan
Tera Sage
Tera Sage

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

 

Hi , Still facing the same issue

avinashdubey103_0-1703101148030.png

The variable are stored under a variable set , is that creating a problem?

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.

 

  1. Let me know your views on this.

Normal variable set