I would like to render the process diagram for a completed instance on my custom frontend app. Is there any way where I could load the flowable admin app rendered process diagram?
yvo
February 2, 2021, 7:58am
#2
Hi,
have a look here;
tmpCanvasHeight = canvasHeight * (1.0/1.10); } if (tmpCanvasWidth != canvasWidth || tmpCanvasHeight != canvasHeight) { canvasWidth = tmpCanvasWidth; canvasHeight = tmpCanvasHeight; paper.setSize(canvasWidth, canvasHeight); } } function _showProcessDiagram() { var request; if (historyInstanceId != null) { request = $.ajax({ type: 'get', url: FlowableAdmin.Config.adminContextRoot + 'rest/admin/process-instances/' + historyInstanceId + '/history-model-json?processDefinitionId=' + definitionId + '&nocaching=' + new Date().getTime() }); } else if (instanceId != null) { request = $.ajax({ type: 'get',
This component is responsible for fetching the required state info and drawing the running or completed process instance.
Hope this helps.
Regards,
Yvo