- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2017 04:11 AM
Hi,
I'm trying to script who should get an email notification from the system, through workflow.
I've created a Notification activity like below:
Then i want to send an email to requested_for (reference to sys_user), requested_for is a variable so i've tried adding:
current.variables.requested_for
At the same time i want to send the same mail to the requested_for's manager. The manager is set in a seperate field, so i've tried using:
current.variables.manager.
Any idea on how to use this TO (Script) to make it work?
Best regards,
Solved! Go to Solution.
- Labels:
-
Service Catalog
-
Service Portal
-
Workflow
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2017 05:33 AM
Solution: (where you can add answer.push for both user and manager):
answer = [];
answer.push(current.variables.manager.sys_id);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2021 05:48 AM
God sent.