Notifications

ShariqhM
Tera Contributor

Hii everyone,
How do i identify these in any notification record and i need to find the trigger logic, Recipent, Subject line,
message body in a notification record.

 

Tigger Logic
Recipient
Subject Line
Message Body


Thanks & r

10 REPLIES 10

Hi @ShariqhM 

From the screenshot, I can see that the notification is already configured to send when the Event is fired, and the event name is set to knowledge.approval.rejected.

 

Could you please provide a bit more detail about your requirement?

  • Are you trying to understand what triggers the event?
  • Is the notification not being sent when expected?
  • Are you looking to modify the recipients, subject, or message body?
  • Or are you trying to identify the business rule, flow, or script that queues the event?
Thank You!
Juhi Poddar

Hii @Juhi Poddar 
i just wanna know the trigger logic. How do we define this trigger logic.

Hi @ShariqhM 

The trigger logic is essentially the condition that causes the notification to be sent.

 

In your screenshot, the notification is configured to send when the event knowledge.approval.rejected is fired. Therefore, the trigger logic is not defined directly in the notification itself. The notification is simply listening for that event.

 

To identify the actual trigger logic, you need to find where the event knowledge.approval.rejected is being queued. You can do this by searching for the event name in:

  • Business Rules
  • Flow Designer flows/actions
  • Workflows
  • Script Includes
  • Any scripts using gs.eventQueue('knowledge.approval.rejected', ...)

The business logic that fires this event is the actual trigger logic behind the notification.

 

For example, the trigger logic might be:

  • "When a Knowledge Article approval is rejected, queue the event knowledge.approval.rejected, which then triggers this notification."

So, in short:

  • Notification Trigger = Event knowledge.approval.rejected
  • Actual Trigger Logic = The Business Rule, Flow, Workflow, or Script that fires the event

You can navigate to System Policy > Events > Event Registry, open the knowledge.approval.rejected event, and then search the instance for references to that event name to find the exact logic behind it.

Hope this clarifies the difference between the notification trigger and the underlying business logic.

 

Thank You!

Juhi Poddar

Thank You!
Juhi Poddar

Hii @Juhi Poddar 
Thank you for you response 
i have a doubt regarding who will receive there are recipients mentioned whom or how do i need to take the recipient??? Help me with this too.

ShariqhM_0-1780583954716.png

 

Dr Atul G- LNG
Tera Patron

https://youtu.be/O6EJUwuJBsE

 

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************