After BR causing duplication of activity

Mickey_Cegon
Tera Expert

I created an After BR to calculate the calendar_duration on the rm_story table. I need to calculate the diff between the opened_at and closed_at fields, so I set it to run After Active changesTo False. Works great, but it shows up in the activity log once, with a second set of activity showing and a duplicate entry in the Audit History list.

find_real_file.png

find_real_file.png

find_real_file.png

find_real_file.png

I tried it as a Before BR, but it didn't work because the closed_at isn't populated yet.

Any suggestions would be helpful. Thanks in advance!

Mickey Cegon

Farm Bureau Financial Services, Inc.