Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Before Insert Business Rule not working as expected

SnowSB
Tera Contributor

Hi,

 

I am trying to populate the 'fiscal period' on Requested allocation based on start date and end date through before Insert/Update BR but it's not working. This BR is not running at all. Can someone please help me with this ?

Requested allocation record gets created when we submit resource plan.

 

SnowSB_0-1700941551846.png

 

SnowSB_1-1700941632479.png

 

SnowSB_2-1700941675412.png

 

 

 

1 REPLY 1

Brad Bowman
Kilo Patron
Kilo Patron

Is this Business Rule running on the requested_allocation table?  Add gs.info logging lines on line 2 and inside the if block to confirm the script is running, the values of the script variables, and if a record is retrieved, and that should show where it is going wrong.