How to send a notification to a user from a variable on sc_task table?

liam regan
Kilo Contributor

Hi, 

Fairly new to dev on the platform so apologies if this is an easy one. 

I have a requirement to be able to send a notification to a user from a variable in a catalog item? 

e.g. Variable name: 'Contact Person', not shown on the task record, the user in this field needs to receive a notification. 

 

Thanks,

 

1 ACCEPTED SOLUTION

@liam regan 

refer below link where I have explained the approach

How to send notifications to users selected in List collector variables on catalog items

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

7 REPLIES 7

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

how are you sending the notification?

Is it via business rule and event queue approach?

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Hi Ankur,

At the moment i am sending a notification based on some conditions and user in a field on the task record, however we now require it to be sent to another from a variable.

@liam regan 

You will have to use business rule and event based approach

In the script you can get the variable value and include as recipient

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

@liam regan 

refer below link where I have explained the approach

How to send notifications to users selected in List collector variables on catalog items

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader