Closed stephanpelikan closed 2 years ago
@stephanpelikan Hey Stephan, somehow this got stuck - not sure on which side :-( Shall we catch up or close this PR now?
I would be happy if this PR could find its way to be merged...
I could avoid the usage of historyService by changing from startProcessInstanceByKey(...)
to createProcessInstanceByKey(...).executeWithVariablesInReturn()
, which runs basically the same code but its signature returns a ProcessInstanceWithVariables. Along with the code and tests I also shortened the README.md to not mention the historyLevel any more for the new copyVariablesToOutBody
property.
Hey @gwieshammer - great - thx! LGTM - and it aligns much better with how the platform works out of the box. The biggest drawback is maybe that we now use "executeWithVariablesInReturn" all the time, which is at least a change to the status quo. But I can#t think of any problem with it - so I am happy to merge this now.
see https://github.com/camunda/camunda-bpm-camel/issues/33