- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2022 01:00 AM
Hello Community,
I have problem with showing variables on email notification when service catalog item is created.
Notification works correct, I mean is launched when should be, problem is with showing data.
I created new separated records for that with following tags in what it will contain tab.
Number: ${number}
State: ${state}
Item: ${cat_item}
Target Resolution: ${due_date}
Short description: ${short_description}
LPAR: ${current.variables.VTSCCPLPAR}
SYSPLEX: ${current.variables.VTSCCPSYSPLEX}
Description: ${current.variables.VTSCCPDESC}
Application: ${current.variables.ITDCCPAPP}
All tags showing in email notifications correct, but not Application: ${current.variables.ITDCCPAPP}.
Do you have idea why others showing correct but Application: ${current.variables.ITDCCPAPP} no ?
In screen attachmnets you can find final result of email notification, type of fields taken from variable set, record from what it will contain tab.
Please help.
Kind regards,
Sebastian Jaskólski
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2022 01:45 AM
Hi Sebastian,
Just circling back on this query. Did you see my reply above and implement the .getDisplayValue() logic provided?
So as to help others with similar questions and problems in the SN community can you please mark correct and/or helpful.
Thanks,
Robbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2022 01:06 AM
Hi Sebastian,
Thanks for supplying the field types. As I thought when reading your question - the field type is a 'Reference' field which is essentially pointing to another table (In your case the applications table).
You need to leverage the .getDisplayValue() method.
Try using:
${current.variables.ITDCCPAPP.getDisplayValue()}
To help others, please mark correct and/or helpful.
Thanks,
Robbie

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2022 01:07 AM
Which table Application is referring to.? Try with getDisplayValue() once current.variables.ITDCCPAPP.getDisplayValue() otherwise call email script gliderecord to whichever table it is pointing to and print the variable.
Regards,
Musab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2022 02:37 AM
Hi Sebastian,
Did you see my reply above and implement the .getDisplayValue() logic?
So as to help others with similar questions and problems in the SN community can you please mark correct and/or helpful.
Thanks,
Robbie
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-16-2022 01:45 AM
Hi Sebastian,
Just circling back on this query. Did you see my reply above and implement the .getDisplayValue() logic provided?
So as to help others with similar questions and problems in the SN community can you please mark correct and/or helpful.
Thanks,
Robbie