Business Rule not triggering on custom table?

Jared Wason
Tera Guru

Hi,

I have a business rule that is set to run before an insert. I go to my custom table, click the 'new' button to add a record, i fill out the fields and click 'submit', but I am not seeing my business rule's log messages appear. Any idea why that might be?

 

find_real_file.png

1 ACCEPTED SOLUTION

Jared Wason
Tera Guru

It appears the primary issue was that the BR was in a sub domain and not global. Thank you all for your help and ideas though!

View solution in original post

18 REPLIES 18

Allen Andreas
Administrator
Administrator

Hi,

You have this in the global scope, if applicable, does it need to be in an app specific scope?

Also, can you double-check that you have "insert" box checked?

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

It does not need to be in an app specific scope (least the table was setup in Global) and I do have 'insert' checked. 

Hi,

Thanks for checking that. Can you try to remove all the other code from that script section leaving just a simple log statement?

gs.info("TEST 1-2-3");

Please also double-check your conditions for this business rule to see if anything would prevent it from running. I know you've verified "Insert" box is checked, but double-check that it's also "before", like you wanted, and then check the conditions section of that first tab. There's also a middle tab that you can check to ensure that the "abort action" isn't checked which would stop this from running as well.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

Tried with just 'Test' and I dont see the log message but I see a few 'com.glide.ui.ServletErrorListener' errors from my account. It is set to before and there are no filter conditions and nothing selected on the Actions tab. Thank you for your help with this.