AnsweredAssumed Answered

When a CallActivity fails, the Workflow never ends

Question asked by calbertts on Jan 25, 2016
Latest reply on Feb 4, 2016 by trademak
Hi everyone,

I'm facing a problem with asynchronous workflows.
I have this design:

start -> ScriptActivity1 (is throwing a NullPointerException to test error handling) -> end

start -> CallActivity (which calls workflow1) -> end

I'm seeing that if I deploy the workflow as asynchronous, if workflow1 fails, the workflow2 never ends, but this isn't happening when the they are deployed as synchronous.

Also if I execute workflow1 only, it fails correctly showing the corresponding exception.

Does anyone know how to deal with this problem?