Custom workflow details page
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2012 10:41 AM
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
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
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-29-2012 02:34 PM
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
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-30-2012 08:42 AM
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.
