[Anthill-pro] EventListener Help?
Mark Melvin
Mark.Melvin at onsemi.com
Fri Apr 3 11:24:49 CST 2009
Hi There,
I am trying (for various reasons) to implement the script found here:
https://bugs.urbancode.com/browse/AHPSCRIPTS-40
This is a script that triggers the build of a workflow via an evaluate
script step, and waits for it to finish. I have modified it a little
and I wanted to only build if required. I therefore changed it to only
force a build if a property is set.
Anyway, it works great when a build actually occurs. But it hangs
forever if a new build life is not needed. This is because it is
waiting for a WorkflowEndEvent. I tweaked the handleEvent(..) method to
also look for BuildRequestEvents, but this doesn't work. In fact, my
handleEvent method is never called at all when a new build life is not
needed. Shouldn't I get some sort of event? I see there are
BuildRequestEvents and BuildRequestBuildNotNeededEvents. I should get
at least one of these, shouldn't I?
Mark.
More information about the Anthill-pro
mailing list