Under Consideration

Abort remaining subprocesses on exit of subprocess Decision

Hi,

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.trace("SubCaseNumber", Case)

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.

Thanks,

Neel

Comments (1)

photo
1

Dear Neelakandan,

A member of our support team will contact you by email.

Regards