Hi all.
I know some have asked about this in the past, and I’ve looked at (I think) all the external embedded integration samples around, but I need to embed the Tasklist and Process functionality into an external React based portal.
The catch is this isn’t a basic workflow I can quickly recreate (like in some of the examples out there), it’s a more complicated and customized one that we deploy as a WAR in Camunda. Meaning using the REST API to recreate all the functionality in that custom workflow would be a duplication of effort, and there would be coordination problems (when someone updates the workflow WAR, it could break support in the portal for working with a Task/Process). Furthermore we want to keep the existing Camunda Web App for advanced usage (both sites would be accessible), while having the portal be more of a direct/streamlined interface that brings in other functions that aren’t Camunda specific. e.g. the portal will include Tasks/Processes but also some external metrics and compliance Web UI support.
I can’t find an exclusive yes or no on whether an iFrame approach to embedding the Tasklist component into another site is possible.
I’ve already integrated the Camunda REST API into my React+Node.js frontend/backend and played with just listing current Tasks with some details.
Can the Camunda JS SDK can be used to load a custom Workflow WAR form, with the integrated controls already included?
For example, when I watch the network URIs between the browser and Camunda, the Tasklist view will return the available Task JSON with relative URL, and the selected form will call a “startForm” URL:
http://192.168.3.5:8080/camunda/api/engine/engine/default/process-definition/ExistingSystemAssessment:1:26349a5c-a02f-11ea-be89-0242ac120003/startForm
Which loads my custom Workflow WAR content:
http://192.168.3.5:8080/custom-workflows/forms/expedited/v2/new-system-assessment.html?noCache=1591198991055&userId=camundau&engineName=default
If I load the above custom Workflow content in a new tab, I get the process HTML and broken Javascript. If it loaded in the Camunda Web context, the “New Process” modal will display the same content, but with Close and Start buttons, etc…
Is it possible to load/import/embed the Task and Process Web context into another Web app? Again, I don’t mind leveraging the REST API, I just can’t afford to recreate all the Task/Process controls in yet another full stack Web app.
Thanks!