cancel
Showing results for 
Search instead for 
Did you mean: 

Changing workflow ownership

jeremycod
Champ in-the-making
Champ in-the-making

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 3

romschn
Star Collaborator
Star Collaborator

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

Hope this helps.

jeremycod
Champ in-the-making
Champ in-the-making

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
Legendary Innovator
Legendary Innovator

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...