I am trying to throw RuntimeException to the calling program (Test) from a JavaDelegate. This works fine if the workflow is a single workflow. But if the workflow includes 'Call Activiti', Runtime Exception never gets propagated to Calling Program (Test).
Here i have
Start - > Service Task 1 -> Call Activiti -> Service Task2 - > end.
'Service Task2' throws runtime exception, but exception never makes to my Test that starts the workflow.
Any ideas?
Thanks,
Bapu