field changes capturing twice in activity log

sivachandrasekh
Mega Contributor
In the activity log, I see that information of custom field changes such as "Requested for domain" is captured.
But in the activity log it is capturing twice and not sure what is the mistake .
 
When I'm updating the work notes it is capturing only one time.find_real_file.png
 
Can anyone let me know why it is capturing twice in activity log. Please see the highlighted red boxes in Screenshot and you can see requested for domain captured twice.
 
 
1 ACCEPTED SOLUTION

AbhishekGardade
Giga Sage

Hello Shiva,

Go to business rules on that table and check for condition 

find_real_file.png

1. If any BEFORE INSERT/UPDATE business Rule contains current.udpate(), then remove it from script.

2. If any AFTER INSERT/UPDATE business Rule contains current.udpate(), then add current.setWorkflow(false) in your script.

Please mark as Correct Answer/Helpful, if applicable.
Thanks!
Abhishek Gardade

Thank you,
Abhishek Gardade

View solution in original post

17 REPLIES 17

Hi Abhishek,

 

I did the modifications for that business rule, but still no use. Still duplicate entries are getting updated in activity log for the request table.

 

In my previous reply also I updated the same. Please check once again and revert if you find anything related to this issue.

 

Thanks & Regards,

Siva

Can you make use of BEFORE business rule and try?

Thank you,
Abhishek Gardade

Hi Abhishek,

How to correct if we don't have current.update() in before business rule .

Regards,

Siva

 

BEFORE BUSINESS RULE wont require current.udpate().

Thanks,
Abhishek

Thank you,
Abhishek Gardade

Hi Abhishek,

In after business rule , i added the Set workflow false before current.update() . After doing this change only one time the field change is getting captured.

Thanks for the Solution provided.

find_real_file.pngRegards,

Siva