How to Trigger Notification from workflow?

ND7
Kilo Sage

Dear NOW Experts,

Please help,  I have a requirement where notification is to send to the user from a previous task. When the technician adds the user name and email. 

find_real_file.png

 

How can I trigger the email to be sent to User Name 'Test User' and to email tuser@test.org. 

find_real_file.png

find_real_file.png

 

afind_real_file.png

 

Appreciate your Help.Thank you so much. 

 

1 ACCEPTED SOLUTION

MrMuhammad
Giga Sage

Hi,

In the advanced script try below

answer = current.variables.email;

Change the 'email' with actual name of email variable in the above script

Regards,

Muhammad

Regards,
Muhammad

View solution in original post

5 REPLIES 5

MrMuhammad
Giga Sage

Hi,

In the advanced script try below

answer = current.variables.email;

Change the 'email' with actual name of email variable in the above script

Regards,

Muhammad

Regards,
Muhammad

Thank you that worked...

answer = current.variables.email;

 

however, how can I bring the user name from a previous task to show on this email?find_real_file.png

 

 

hello can you try this 

${current.variables.your_variable_name_of_username}

Hope this helps 

Thank you Mohith, appreciated it.