Catalog Item Variables in Workflow Notification
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2014 08:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2014 10:17 AM
I would try current.variables.project_manager.sys_id and that should then add them as an approver
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2014 10:17 AM
I mean add their user sys_id sorry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2014 12:00 PM
I did try both your suggestion using , but no luck. no email sent to project manager. I do see sys id returned in (gs.log(answer))
answer =current.variables.project_manager.sys_id;
<mail_script>
var supMail = current.variables.project_manager.email;
var supName = current.variables.project_manager.getDisplayValue();
email.addAddress("bcc", supMail, supName);
</mail_script>
Or
answer =current.variables.project_manager.sys_id;
I attached screenshot for your reference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2014 12:20 PM
Did you happen to check with the project manager to see if they got the email? One thing I forgot to mention, is that because it's BCC, nothing will show up in the logs on the ticket saying it was sent to them. But if you did, and it didn't work, sorry. That script is working in a few of our workflows so I'm not sure why it wouldn't on yours. Maybe it's a version thing. We are still on Berlin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2014 03:14 PM
It did work, but somehow bcc email not showup in email log. Many thanks!