cancel
Showing results for 
Search instead for 
Did you mean: 

How to change the Workflow Detail page

chsun
Confirmed Champ
Confirmed Champ

I am using the embedded Activiti workflows in Alfresco Community. The default Workflow Details page uses the first task title, for example:

Details: My workflow message (Start Review)

In this example, "Start Review" is the first task title.

I want to change the display to use Workflow Title, such as:

Details: My workflow message (Review and Approve (single reviewer))

Which file shall I change, and how?

Thank you!

1 ACCEPTED ANSWER

roberto_gamiz
Star Contributor
Star Contributor

Hello,

The construction of this header messagge it's done in the javascript class Alfresco.component.WorkflowDetailsHeader, implemented in the file: 

<share>/components/workflow/workflow-details-header.js

You need to do your own implementation and configure the webscript that is used to display the header in the page, with an extension module, to use it. 

Surf Extension Modules | Alfresco Documentation 

The web script is "workflow-details-header" an is defined in file <share>/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/workflow/workflow-details-header.get.desc.xml. 

Regards

View answer in original post

1 REPLY 1

roberto_gamiz
Star Contributor
Star Contributor

Hello,

The construction of this header messagge it's done in the javascript class Alfresco.component.WorkflowDetailsHeader, implemented in the file: 

<share>/components/workflow/workflow-details-header.js

You need to do your own implementation and configure the webscript that is used to display the header in the page, with an extension module, to use it. 

Surf Extension Modules | Alfresco Documentation 

The web script is "workflow-details-header" an is defined in file <share>/WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/workflow/workflow-details-header.get.desc.xml. 

Regards