Business rule is not triggered.

Anil20
Tera Contributor

Is there anyway to detect why my business rule is not triggered for one record though it is fulfilling the condition?

It is working fine for every record and and also the gs.log writing log statement to system log but don't know why it is not triggered for the flagged record.

11 REPLIES 11

Hello Anil

So for that record, were you able to replicate the issue again? If yes, then cross verify the conditions. Are there any string comparisons.. may be the values that you have might not be proper strings. 

What are the conditions you are checking in the BR? and how sure are you sure that BR has not executed for this record. May be there is an error when running for this record, check the logs once as well. Also add log in the 1st line to confirm if it come to your script or not.

Mark the comment as helfpul if it helps.

 

Hitoshi Ozawa
Giga Sage
Giga Sage

If the condition involves values, have you tried those values as filter in the list view?

There may be some special characters in the value that'll prevent it from being selected.

Would help if you can tell us what kind of conditions you have as a trigger.