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

Ryan Smith rws at urbancode.com
Fri May 9 01:40:34 CDT 2008


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
===========================================================


More information about the Anthill-pro mailing list