cancel
Showing results for 
Search instead for 
Did you mean: 

How to have customized page for workflow tasks?

gyro_gearless
Champ in-the-making
Champ in-the-making
Hi friends,

i just found these mystery words at http://wiki.alfresco.com/wiki/WorkflowAdministration :

If the standard Manage Task Dialog is not sufficient it can be overridden based on the type of task.

TODO: Provide an example of a custom dialog and how to configure it.

So, has anyone ever done this? Or an hint where and what to configure?

Cheers
Gyro
3 REPLIES 3

hsohaib
Champ on-the-rise
Champ on-the-rise
check blueXml : http://www.bluexml.com/v3/case-studies/ .
These case studies shows how to build a customized page for workflow tasks.

nicolasraoul
Star Contributor
Star Contributor
check blueXml : http://www.bluexml.com/v3/case-studies/ .
These case studies shows how to build a customized page for workflow tasks.

hsohaib, I couldn't find any explanation about "how to build a customized page for workflow tasks" in any of the case studies.
Could you give a more specific link?
Thank you!

gyro_gearless
Champ in-the-making
Champ in-the-making
A close look at web-client-config-dialogs.xmls reveals that is actually quite easy  Smiley Very Happy  !

Just provide an type specific definition for the manageTask dialog in your web-client-config-custom.xml:

<config evaluator="node-type" condition="wf:adhocTask" replace="true">
   <property-sheet>
      …
   </property-sheet>
   <dialogs>
      <dialog name="manageTask"
              page="/custom/jsp/workflow/special-manage-task-dialog.jsp"
              managed-bean="ManageTaskDialog"
              icon="/images/icons/manage_workflow_task_large.gif" 
              description-id="manage_task_desc" />
   </dialogs>

</config>

I have also updated this in the Alfresco wiki. http://wiki.alfresco.com/wiki/WorkflowAdministration#Step_5:_Configure_the_Web_Client_Task_Dialogs

Cheers and have a good weekend
Gyro