[Anthill-pro] Looking for help on setting a status based on the value of a property selected by a user

Scott Leon Scott.Leon at mathworks.com
Fri May 9 08:32:51 CDT 2008


Ryan,

That did the trick

Thanks
Scott

-----Original Message-----
From: anthill-pro-bounces at lists.urbancode.com [mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Ryan Smith
Sent: Friday, May 09, 2008 2:41 AM
To: AnthillPro user and support list.
Cc: anthill-pro at caladin.urbancode.com
Subject: Re: [Anthill-pro] Looking for help on setting a status based on the value of a property selected by a user

Please try:

return PropertyLookup.get("secondary.status");


Ryan Smith

Scott Leon wrote:
> Hi All,
>
>
>
> At the end of a build, a status of success/failure is assigned to the
> buildlife.
>
>
>
> What I'd like to add now is the ability to assign a secondary status
> (i.e. qa_passed, qa_failed, etc.) to a buildlife with a workflow.
>
>
>
> I setup a property to allow a user to make their selection before
> kicking off the workflow.  What I'm missing is what needs to be in the
> script in the Assign Status task in the job (only job in this workflow)
> for the workflow.
>
>
>
> I'm guessing that it's something like
>
>
>
>                return ${bsh:WorkflowLookup.getCurrent().getProperty("secondary.status")}
>
>
>
> But maybe not
>
>
>
> Any ideas?
>
>
>
> Thanks
>
> Scott
>
>
>
>
>
> Scott Leon
>
> Business Applications
>
> The MathWorks, Inc.
>
> 3 Apple Hill Drive
> Natick, MA 01760
> Phone: (508) 647-2010
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro

--
===========================================================
Ryan Smith.                     2044 Euclid Ave., Suite 600
Developer                   Cleveland, Ohio 44115
Urbancode, Inc.
                                email:  rws at urbancode.com
web:     www.urbancode.com      phone:  216-858-9000
web:     www.anthillpro.com     fax:    216-858-9602
===========================================================
_______________________________________________
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