[Anthill-pro] Secondary WF's
Eric Minick
etm at urbancode.com
Tue Nov 27 10:12:51 CST 2007
Curtis,
Right. I think the way to choose based on originating workflow status is:
status = BuildLifeLookup.getCurrent().getOriginatingWorkflow().getStatus();
if (status.isSuccess()) {
}
else {
}
Yanko, Curtis wrote:
> Ok, I'm looking at scripting and as always I get confused as nothing
> seems clear to me.
>
> I would assume I need a WF lookup helper and Status lookup helper if I
> am to make a Job Pre-Condition Script I can use.
>
> So, BuildLifeLookup.getCurrent(() seems handy
>
> ..but then I don't where I could use that to determine the current
> status of this current build life???
>
> ===
> -Curt
> W: 860.702.9059
> M: 860.881.2050
>
>
> ------------------------------------------------------------------------
> *From:* anthill-pro-bounces at lists.urbancode.com
> [mailto:anthill-pro-bounces at lists.urbancode.com] *On Behalf Of *Yanko,
> Curtis
> *Sent:* Tuesday, November 27, 2007 10:01 AM
> *To:* AnthillPro user and support list.
> *Subject:* [Anthill-pro] Secondary WF's
>
> How can I prohibit Secondary WF's from being run (or even available)
> on for failed builds? I don't see an easy way to limit by status and I
> don't want people deploying failed builds or Archiving Dev builds.
>
> I'm guessing I could evaluate a script but then the WF would still
> show up to be run and I would rather not present it at all.
>
> ===
> -Curt
> W: 860.702.9059
> M: 860.881.2050
>
>
>
>
> This e-mail, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity to
> which it is addressed. If the reader of this e-mail is not the intended
> recipient or his or her authorized agent, the reader is hereby notified
> that any dissemination, distribution or copying of this e-mail is
> prohibited. If you have received this e-mail in error, please notify the
> sender by replying to this message and delete this e-mail immediately.
>
>
> This e-mail, including attachments, may include confidential and/or
> proprietary information, and may be used only by the person or entity to
> which it is addressed. If the reader of this e-mail is not the intended
> recipient or his or her authorized agent, the reader is hereby notified
> that any dissemination, distribution or copying of this e-mail is
> prohibited. If you have received this e-mail in error, please notify the
> sender by replying to this message and delete this e-mail immediately.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>
More information about the Anthill-pro
mailing list