Workflow Notification Activity vs Notification

MStritt
Tera Guru

On a regular Notification, I get a 'Users/Groups in fields' pick list where I can select a field off the RMR.

find_real_file.png

On the Notification Activity on the Workflow, I don't see/get it. Is this something I can add? I'm not able to navigate to a specific field (value) on the RMR where I want the email to be sent to. 

find_real_file.png

1 ACCEPTED SOLUTION

You can use answer = current.u_st_email;

 

But yes, as suggested by Mark, it is not recommended to use Workflow notification. You can use the Create Event activity instead and create an event Registry record and map the registry record to a notification. 


Please mark this response as correct or helpful if it assisted you with your question.

View solution in original post

14 REPLIES 14

Ok...Then I would suggest using an event. 

The document clearly says you have to pass the sysid of the user. So in your case, you have an email address in string.

 

So best to use is an event. Create an event registry. In the workflow, use the Create Event activity and call that event and pass the field as first parameter.

Then using notification, send the notification

find_real_file.png


Please mark this response as correct or helpful if it assisted you with your question.

Yes...Even with a Timer


Please mark this response as correct or helpful if it assisted you with your question.

Mark Roethof
Tera Patron
Tera Patron

Hi there,

Personally I wouldn't use the Notification acitivity on Workflows. Also same for Flows. Instead just using the regular Notifications, and trigger one through an event.

Using Notifications, the Notification acitivty on Workflows, on Flows, etc.. makes it really hard to maintain your instance, maintain your notifications, having notifications with similar look & feel, etc..

Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn

Hi Mark,

Even if I have a timer? Meaning, this notification won't send until 14 days after a condition is met.

 

An event would do then, or depending on your need maybe a scheduled event.

Kind regards,
Mark
2020 ServiceNow Community MVP
2020 ServiceNow Developer MVP

---

LinkedIn
Community article list

 

Kind regards,

 

Mark Roethof

Independent ServiceNow Consultant

10x ServiceNow MVP

---

 

~444 Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

LinkedIn