cancel
Showing results for 
Search instead for 
Did you mean: 

Custom workflow details page

alfdev
Champ in-the-making
Champ in-the-making
Hi,

I want to modify the workflow details page (/share/page/workflow-details?workflowId=activiti$XXXXX). Specifically, I want to replace the column "Type" in the history tables with another one that will show the task title.

I read this wiki article Custom Share Workflow UI (section "Workflow Details Form"), but that is not the part of the page I want to change. Any help, please? Thanks a lot.

You can see the columns I want to modify in this picture (see red squares):

[img]http://imageshack.us/a/img543/1710/workflowdetails.jpg[/img]

For example:

where it shows this (task type):

Review
Workflow Task

…I want to print this (task title):

Quality documents Review
Quality documents Edition
2 REPLIES 2

afaust
Legendary Innovator
Legendary Innovator
Hello,

this is not possible via standard form configuration, as the task lists are not part of a configurable area of the details form. You would have to adapt the workflow-details page template and the task list component (server side JS and FTL, as well as client side JavaScript) in order to achieve this.

Regards
Axel

alfdev
Champ in-the-making
Champ in-the-making
Hello,

this is not possible via standard form configuration, as the task lists are not part of a configurable area of the details form. You would have to adapt the workflow-details page template and the task list component (server side JS and FTL, as well as client side JavaScript) in order to achieve this.

Regards
Axel

Thanks for your answer.

I finally found that you have to modify currentTasksColumnDefinitions and historyColumnDefinitions in \share\components\workflow\workflow-form.js (client side JavaScript).

To modify the table headers, you need to edit \alfresco\WEB-INF\classes\alfresco\workflow\workflow-messages.properties.