Business rule conditions - insert or update

Gary22
Tera Contributor

i am writing a business rule to copy a field value change in activity log of the table . so everytime the value of the field changes , i want that activity to be logged in the communication tab ( journal field ) . I wrote a business rule to do this with both insert and update condition . now what happens is that when the value is initially inserted in the null field , there are two entries being made in the activity log ( and the sys_audit field ) . 

 

my query is , if i change the condition of the business rule to only update , will it also include the scenario where the field is initially null and a value is set on it for the first time . 

 

pleasae advise . 

1 REPLY 1

RaghavSh
Kilo Patron

After insert, if you set the value, the record will automatically be updated. so in that case the null issue will go away.


Raghav
MVP 2023