How to get login user email id into SCTASK description
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2024 07:06 AM
i need to update login user email id in task description by using catalog task activity in workflow
i tried this task.description = Login using the users email address + current.varibles.Email();
but i can't get it please suggest possible ways
Thank you
- Labels:
-
update
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-23-2024 07:54 AM - edited 04-23-2024 07:59 AM
Hi @poco ,
Please try in this way.
var email = gs.getUser().getEmail();
task.description = email;
Please follow link to get more details.
User Object Cheat Sheet – ServiceNow Guru
Please mark helpful & accept answer if its worthy for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2024 12:54 AM
Hi @poco ,
is it working for you?
If it's solved your purpose, please mark helpful & accept answer.