[Anthill-pro] updating workflow property value during build run
Steve Boone
sbb at urbancode.com
Wed Jun 11 09:27:36 CDT 2008
Try something like this.
String wrksp = JobTraceLookup.getCurrent().getProperty("workspace.version");
PropertyLookup.setValue("test_ver",wrksp);
On Wed, Jun 11, 2008 at 10:04 AM, Mitra, Prajit (MED US) <
prajit.mitra at siemens.com> wrote:
> Hi,
>
> I'm a newbie to anthillpro (version 3.5.2_13271). I'm trying to update a
> workflow property
> with a value during the build. e.g.
>
> test_ver = -set during runtime-
>
> with
>
> test_ver = ${property:workspace.version}
>
> I'm trying with this method
>
> PropertyLookup.setValue("test_ver","${property:workspace.version}");
>
> The above method is not working but is working for a hardcode value
>
> PropertyLookup.setValue("test_ver","test");
>
> TIA
> -Prajit
>
> ----------------------------------------------------------------------------
> This message and any included attachments are from Siemens Medical
> Solutions
> and are intended only for the addressee(s).
> The information contained herein may include trade secrets or privileged or
>
> otherwise confidential information. Unauthorized review, forwarding,
> printing,
> copying, distributing, or using such information is strictly prohibited and
> may
> be unlawful. If you received this message in error, or have reason to
> believe
> you are not authorized to receive it, please promptly delete this message
> and
> notify the sender by e-mail with a copy to
> Central.SecurityOffice at siemens.com
>
> Thank you
>
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.urbancode.com/pipermail/anthill-pro/attachments/20080611/a7f5d462/attachment.htm
More information about the Anthill-pro
mailing list