AnsweredAssumed Answered

View Diagram On Task Page Not Displaying The Diagram

Question asked by mduduzi on Apr 13, 2015
Hi,

I have Alfresco 4.2.1 installed and the view diagram on the task page is not displaying the diagram. I found the following on workflow-form.js and added alerts on it as follows:

<javascript>
….
viewWorkflowDiagram: function()
      {
alert(this.workflow.diagramUrl)//to check if this.workflow.diagram exists
         if (this.workflow.diagramUrl)
         {
alert(Alfresco.constants.PROXY_URI + this.workflow.diagramUrl)//to check if the condition is return true
            showLightbox({ src: Alfresco.constants.PROXY_URI + this.workflow.diagramUrl });
         }
      },
….
</javascript>

When the View Diagram button is clicked it shows both alert messages.My guess is something is blocking the line:showLightbox({ src: Alfresco.constants.PROXY_URI + this.workflow.diagramUrl }); from executing, because when I copy they URL for the image and paste it on the browser the image is displayed. I have also turned auditing on and off

Kind regards,

Outcomes