AnsweredAssumed Answered

Additional logic on workflow task update

Question asked by vince20151 on Aug 1, 2014

I'm using the standard out of the box Review and Approve Activiti workflow. I want to add an additional piece of logic to update an external database upon the user approves or rejects the task. I like to do this in Java as I have existing code that performs similar stuff already.

I have no idea how best to approach this. Is there a way to tack on some additional logic after the standard built in logic by overriding some class methods in Alfresco. This would be best since everything else is the same. Or would it be best just to create a new workflow definition retain everything but call your method when user approves/reject the workflow task.

Thanks a bunch!