AnsweredAssumed Answered

Logging which user executed a simple workflow

Question asked by dnallsopp on Jun 22, 2012
Latest reply on Jul 4, 2012 by janguela
I would like to use a simple workflow to implement an Accept/Reject document review, and move the document into an Accept folder or a Reject folder depending on the decision. All easy so far…

However, I need to be able to log this decision, and the identity of the user who made it, to an audit log on a remote server.

Ideally I would like to hook something into the simple workflow that will call a specific log4j logger that is picked up by syslog, using the log4j SysLogAppender.

Is there any way to do this?

Update: if the destination folders (Accept/Reject) had a rule that triggered an action when the file arrived, would that action be run in the context of the same user that ran the workflow? If so, this would probably be a solution, if Actions can access the 'current user'…?

Alternatively would it be possible to use Alfresco Audit functionality, and run an Action to query the Audit system and send it to the external log?