What is the difference between "Event Fire " and "Trigger" option available in Notification under "When to send " option?? and there functionality

Mohammed Isahaq
Tera Contributor

What is the difference between "Event Fire " and "Trigger" option available in Notification under "When to send "  option?? and there functionality 

1 ACCEPTED SOLUTION

asifnoor
Kilo Patron

Hello Isahaq,

Check this.

Send whenSelect under what condition the notification is sent:

Mark the comment as a correct answer and also helpful if this helps.

View solution in original post

4 REPLIES 4

Ashutosh Munot1
Kilo Patron
Kilo Patron
Hi, Trigger is used by flow designer. Whenever there is a trigger in flow designer this notification will trigger. Event: gs.eventQueue is used to send events. Whenever this part of code is executed then record is created in events log table and notification is triggered based on this. We also have create event option in workflow from where this notification event can be triggered. Thanks, Ashutosh

Harsh Vardhan
Giga Patron

Event Fire: here your notification will generate based on event execution. 

eg: you want to send notification to group manager, which incidents did not update from last 3 days. 

so you can write here event based notification using gs.eventQueue() function. 

 

kindly refer the below example . 

 

https://developer.servicenow.com/app.do#!/document/content/app_store_learnv2_automatingapps_newyork_...

 

Triggered :  You will create notification here and then set send when as "triggered" now this notification will execute once you will have notification action added/execute on your flow designer. 

Kindly refer the below doc link . 

 

https://docs.servicenow.com/bundle/kingston-servicenow-platform/page/administer/flow-designer/refere...

Kunal Varkhede
Tera Guru

Hi Mohammed Isahaq,

 

Event is fired means when you generate event via server side objects ( e.g business rule, script includes).

Triggered means when it's triggered by action in flow designer.

Please check below for more details

https://docs.servicenow.com/bundle/kingston-servicenow-platform/page/administer/notification/task/t_CreateANotification.html

 

Please Mark Correct/Helpful answer if it help you.

Regards,

Kunal

asifnoor
Kilo Patron

Hello Isahaq,

Check this.

Send whenSelect under what condition the notification is sent:

Mark the comment as a correct answer and also helpful if this helps.