Hi all,
I am using custom auditing. In the first event of each activity that contains a form, i call a custom smartobject to create an audit entry. I pass the activity instance Id (not the activity instance destination id) and the activity instance destination fqdn. In the second event I have a form event. After the form event I call another smartobject method and then update the previous audit entry, created in the event before the form event, to say this has been completed with this action. To this method I pass the activity instance id and the activity instance destination fqdn and action.
This works fine. How ever, if lets say the task was assigned to user 1 and user 1 redirects the task to user 2. When user 2 actios the task and compeltes it the audit entry shows the user 1 completed the task instead of user 2. The activity destination fqdn seems to be from the original user and not the new user. How do i reliably get who actually actioned the task (if it was delegated or redirected for example)
Thanks in advance