Camunda engine calling external application to complete task

We would like to implement the following scenario:

  1. User is browsing Camunda task list to finish some tasks.
  2. User clicks on a task. Normally the Camunda screen opens where he can completes the task, but this time we would prefer to be re-routed to the external application screen.
  3. After entering data the user clicks on Submit (equivalent to Complete in Camunda).
  4. The external applications calls Camunda REST API to tell Camunda that the user task is completed and if needed it also sends additional information (i.e. assignee for the next user task).

How we could implement such scenario?

For starters, I can point you in the right direction for number 4 as this is something I am using.

https://docs.camunda.org/manual/latest/reference/rest/task/post-complete/

Thank you, Tomas. Step 4 seems feasible. The most tricky part for me is (step 2) how to tell to Camunda task list that clicking on the link it should open an application screen that it is not in Camunda?

Hi @rooobce,

While it might not be the solution you are looking for, launching an external app might be difficult if it is not web-based. URI schemes might work for that.

If it is Web-based, you can link to it from within the from, a plugin or use an embedded form.

As for having different behaviour for different tasks, this is not in the scope of Tasklist. You can try to create the behavior using a Tasklist Plugin.

It is also possible to create your own Tasklist which interacts with the engine via the REST API.

Hi @rooobce,

what about external forms: https://docs.camunda.org/manual/7.11/user-guide/task-forms/#external-task-forms

Hope this helps, Ingo

Dear Ingo,

it looks like a good solution. We’ll try this.

Dear Martin,

we are using web based system so it should work. Thank you for the ideas.

I’ll let you know what worked after we implement it.