Hi
My solution is valid in case you want to get the output at the proper time but not from the process launcher code which is sayHello in your case.
I assumed it is OK for you to read the output from the ExecutionListener which is ExampleExecutionListener in your case.
In case you want to read it from the launcher code then you can try Webcyberrob’s solution below
OR
thorben’s solution in case you have camunda version 7.6.0-alpha2 or above
1 Like