cancel
Showing results for 
Search instead for 
Did you mean: 

take ownership button in custom workflow

darklord
Champ in-the-making
Champ in-the-making
Hi,
    i have configured custom workflow in wcm with pooled actors. when a content is send for approval there is a button "Take Ownership". how can i remove this button. any clues.
    second, i cant see edit button although i have configured edit_package_item_actions for this approval group.

   thanks.
5 REPLIES 5

jpotts
World-Class Innovator
World-Class Innovator
What is the point of using pooled tasks if you aren't going to let the members of the pool take ownership of the task? Taking ownership removes the task from the general pool and assigns it to that owner (thus removing it from everyone else's task list). The owner can then take action or return it to the pool. Without "take ownership" you might as well use non-pooled tasks.

Jeff

lucille_arkenst
Champ in-the-making
Champ in-the-making
Without "take ownership" you might as well use non-pooled tasks.
Not true.
If you code in an "Approve", that moves the ownership to that person and they can approve and take ownership at the same time.
So back to the original question… has anyone successfully gotten rid of the "take ownership" button?

Thanks in advance

gyro_gearless
Champ in-the-making
Champ in-the-making
I think the secret is to

- provide a new backing bean, deriving from class ManageTaskDialog, overriding method public List<DialogButtonConfig> getAdditionalButtons() to not create the "Take Ownership" button
- Override the workflow tasks dialog configuration as described in http://wiki.alfresco.com/wiki/WorkflowAdministration#Step_5:_Configure_the_Web_Client_Task_Dialogs, using the new backing bean.
- configure the new bean from above in faces-config-custom.xml (copy the config section for original ManageTaskDialog bean)

HTH
Gyro

lucille_arkenst
Champ in-the-making
Champ in-the-making
Much appreciated.  I will try it.

lucille_arkenst
Champ in-the-making
Champ in-the-making
.