Aborting all insances for the process with a "Multiple Gateway"
770099Nov 29 2010 — edited Dec 8 2010Happy Holidays All,
Guys,
I have run into a little issue with cleaning up all instances for a process.
I have a process with a Multiple Gateway.
in the process I use a Notification Wait with External. I attach a Automatic to that and in the automatic I use the following code. unfortunately The instances don't get ABORTED. can anyone tell me what I may be doing wrong
childInstances as String[String] = this.children
for each child in childInstances do
// LOG MESSAGE
logMessage PrefixName + " Child Instances -> " + using severity = DEBUG
// Aborting Child Instance
send Notification
using instanceId = child,
activityName = "AbortTask",
parameters = null
end
// Self Abort
this.action = Action.ABORT