[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
Thu May 8 16:17:03 CDT 2008


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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20080508/eeac3617/attachment.htm


More information about the Anthill-pro mailing list