Abort remaining subprocesses on exit of subprocess Decision
I have created 3 subprocesses. I need to abort all the remaining sub process when i take a decision in first sub process.
On exit of subprocess, have wrote the below expression.
ChildProcesses = CHelper.getSiblingProcessesId(Me, "Subprocess");
for (var Records = 0;Records < ChildProcesses.Count;Records++)
var Case = ChildProcesses[Records];
CHelper.abortProcess(Me, Case, 1);
But i do get the error as attached. Here able to get the proper Case(sub process number). But the error happens with CHelper.abortProcess(Me, Case, 1);
Any help or suggestion is appreciated.