Synchronous external tasks

Hi all,

We just start working with camunda and we have a process that’s divided in two parts, the fisrt one must be synchronous and return a result. The second one is asynchronous.

We want the application thread wait for the execution of 3 external tasks but it doesn’t.

We tried an other solution:
We have deployed the bpmn in Spring-Boot environment. We tried to do the job in two steps (in the application thread):

  • Start the process in camunda
  • Query camunda’s process to get the result of the external tasks execution before controller’s return

We can’t do that, the external tasks doesn’t give back before Spring-Boot’s controller return statement. The extenal tasks aren’t executed and we can’t get the execution result value

Is there a way to implement one of these two solutions ?