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

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

Hi Abhishek,

I checked the business rule on sc_request table and found that we have current.update() in only After insert/Update Business rule and as per your suggestion i set the workflow to false. But still same result no luck.

 

find_real_file.png

Regards,

Siva 

 

Can you make that business rule and try? On which table, you are getting duplicate activity logs? REQ or RTIM?

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

 

Thank you,
Abhishek Gardade

Hi Abhishek, As suggested by you I added the line set workflow false in after insert/update business rule . But still not working. Duplicate entries are updating in request table. Regards Siva

Can you make that business rule and try? On which table, you are getting duplicate activity logs? REQ or RTIM?

Thank you,
Abhishek Gardade