cancel
Showing results for 
Search instead for 
Did you mean: 

Access variables from CallActivity outside Error Boundary

punita
Champ in-the-making
Champ in-the-making
I have a process A which calls process B using CallActivity.
Process B is calling a SOAP service and if the SOAP service responds with error, process B ends with ErrorEndEvent.
I need to access the errorCode that was sent from the SOAP service in process A. However, I am not able to access any variables from process B in process A (even not with the <activitiSmiley Surprisedut> tag).

How can I access variables from the call activity process to the parent process, if the call activity process is in the error boundary?
1 REPLY 1

trademak
Star Contributor
Star Contributor
A call activity start a sub process with its own variable scope. The parent process doesn't have access directly to the variable scope of the sub process. You can use the Activiti service api to get the variable values.

Best regards,