Notifications

yardenKrispel
Tera Contributor

i need help!!!!!It doesn't work for me, the condition is this: Notifications that need to be sent to supporters will be sent to the supporter himself (Assigned to), unless the field is empty and then it must be sent to the entire group (Assignment group.)  I created event, business rules and notification

 

yardenKrispel_0-1702386333845.png

 

6 REPLIES 6

Hemanth M1
Giga Sage
Giga Sage

Hi @yardenKrispel ,

 

Can you try gs.eventQueue instead gs.eventQueueScheduled

 

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

Can you write down his whole line for me?

why is not it working?

yardenKrispel_0-1702387522584.png

yardenKrispel_1-1702387532280.png

I created an event in addition to Business and wanted to connect it to notification and it gives me an error

 

 

Stefan Georgiev
Tera Guru

Hello @yardenKrispel ,

as @Hemanth M1 said, try using gs.eventQueue("commented.Assigned to", current, <user_id/group_id>), check if the name of you event is <commented.Assigned to>. Check as well if you have selected in the notification in the Who will receive the notification Event parm 1 contains recipient.

StefanGeorgiev_0-1702389147186.png

 

 

I am not sure that gs.eventQueueScheduledScript exists as a method.

Hope that this helps you!

If the provided information answers your question, please consider marking it as Helpful and Accepting the Solution so other community users can find it faster.

All the Best,
Stefan