- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2016 08:44 PM
Hi all,
I have a multiple choice variable named dual_monitor on a catalog item. It has two values yes and no. Also, It is part of a variable set. Once the user submits the order an event is fired which will send email notification to the approver to approve the requested item. How do I pass this variable and its value in the notification. I tried various combinations but unable to refer it. Below is email content. Also requested for field appears blank in the notification. Any suggestions?
.
Thanks & Regards,
Akriti
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2016 01:49 AM
I had a small typo. Instead of current.ref_sc_req_item.sysapproval.variables.<variable_name>, try
current.sysapproval.ref_sc_req_item.variables.<variable_name>
The "type casting" comes after, not before. By using "ref_sc_req_item", you are type casting sysapproval reference which is of type task. Using this syntax you can get not just the variables, but any other fields that are specific to the record that is type casted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2016 08:55 PM
If your driving table is sc_req_item or sc_task, then tou can use current.variables.variable_name.
Thanks
Shouvik
PS: Hit like, Helpful or Correct depending on the impact of the response
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2016 09:10 PM
Thanks for the reply Shouvik. The driving table is sysapproval_approver. I had tried using ${current.variables.dual_monitor} but it did not work

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2016 08:58 PM
Hi, you can use: ${current.variables.variablename}
Thanks,
Tadz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2016 09:11 PM
Thanks for the reply Cris. The driving table is sysapproval_approver. I tried had tried using ${current.variables.dual_monitor} but it did not work