Access variables from CallActivity outside Error Boundary

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2015 02:12 AM
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 <activiti
ut> 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?
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 <activiti

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

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2015 04:28 PM
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,
Best regards,
