Events not triggering within a business rule

matthew_hughes
Kilo Sage

I've created the below business rule where I'm trying to generate two events. I'm wanting it to trigger when records within the 'x_lbg_group_recert_grp_recertification' get created on the current date:

matthew_hughes_1-1745911261844.png

matthew_hughes_2-1745911299199.png

 

My two events are:

matthew_hughes_5-1745911546208.png

 

The records are being created via a Scheduled Job. However what I'm finding that even though there are records that are being created today, it's not generating the two events:

matthew_hughes_3-1745911380936.png

matthew_hughes_4-1745911460642.png

 

So I was just wondering if anyone knows what I'm doing wrong so that I can generate the two events

 

 

 

 

 

17 REPLIES 17

@matthew_hughes 

then you need to write scheduled job which runs on 1st day of quarter

refer these link on how to combine and send 1 email per user and enhance it further

Email script 

Email Notification to all users of assets assigned specifically to them 

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

Robert H
Mega Sage

Hello @matthew_hughes ,

 

Please remove the Condition ("Created on today") and change the When field from "before" to "after".

 

What is supposed to happen with the events that you are triggering? Do you want to send Notifications or trigger Script Actions? If you want Notifications you would not need any Events or Business Rules, you can simply configure the Notification to trigger when a record gets inserted.

RobertH_0-1745918133488.png

 

Regards,

Robert

Chaitanya ILCR
Kilo Patron

Hi @matthew_hughes ,

That's should be because of gs.log

gs.log is not supported in the scoped application hence it must be throwing an error.

replace it with gs.info and try.

 

 

Please mark my answer as helpful/correct if it resolves your query.

Regards,
Chaitanya