Changing workflow ownership

cancel
Showing results for 
Search instead for 
Did you mean: 
jeremycod
Member II

Changing workflow ownership

Hi,

Is it possible in custom workflow to change owner and how one can do that? It might also work if the ownership is assigned to the group instead of individual person. We want to cover scenario when the workflow creator have to leave for vacation or sick leave, and somebody else from the same group of people have to replace him.

Thanks

3 Replies
romschn
Senior Member

Re: Changing workflow ownership

Have you taken a look at the out-of-the-box reassign functionality on workflow task?

Hope this helps.

jeremycod
Member II

Re: Changing workflow ownership

It doesn't work for us. It doesn't change workflow ownership, but only current task is re-assigned to other person. We need to solve situation when workflow owner is away and somebody else has to take that role.

afaust
Master

Re: Changing workflow ownership

You would need to change the process variable for the workflow initiator which is used to determine "ownership" in terms of permission checks. Unfortunately there is no standard API to change that variable in Alfresco. You would have to get deep into the embedded Activiti APIs to change that...