cancel
Showing results for 
Search instead for 
Did you mean: 

activiti explorer change process diagram

janek_ummethum
Champ in-the-making
Champ in-the-making
I am trying to change the appearance of the process diagram in the "My instances" tab. For this I changed the the following file: activiti-webapp-explorer2\src\main\webapp\diagram-viewer\js\ProcessDiagramCanvas.js. In the file i changed this:

var HIGHLIGHT_COLOR = Color.red; –> var HIGHLIGHT_COLOR = Color.blue;

After re-compiling activiti and deleting the DB and redeplyoing activiti on tomcat the highlight color is still red. In the activiti-explorer.war and the deployed folder the file changed in the diagram-viewer folder. After a lot of trying, suddenly the color did change to blue. Now I wonder why, since I am unable to reproduce this change again. If someone could explain to me how I can get changes in the .js files to work in the deployment process it would be much appreciated!

Thank you in advance!

Janek Ummethum
2 REPLIES 2

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Janek,

Did you clean browser's cache after war deploy?
(May be it helps)

Regards
Martin

Wow thanks, that was the exactly the issue!