Global variable isn't saving after transaction commit for multi-instance CallActivity

Hey. I’ve run into an issue with multi-instance CallActivity.
I want to collect outputs from my CallActivity to a list variable “documentContent” I created beforehand. So after getting the result, mapping it to local variable, I add the result to the documentContent. But after the transaction commit (I have async before and after), my documentContent becomes empty again and everything I set just disappear.
Even if I remove async, in the final result I have just the last element in the documentContent.
So my question is why and to collection it properly in Camunda 7. Thanks

generate-borrower-info-document.bpmn (14.9 KB)

Hi @Bohdan_Venyamin

The engine does not support output mappings for multi-instance constructs

https://docs.camunda.org/manual/latest/user-guide/process-engine/variables/#multi-instance-io-mapping

To overcome this, you can update the collection result “documentContent” from within the called process.

Or you can simply try mapping to a local variable of the execution when executing the call.