Spec section "220.127.116.11 jobProperties Substitution Operator" states resolution order is innermost scope to outermost - i.e. artifact, step, job.
Spec section "18.104.22.168 Property Resolution Rule" states a property must be defined before it can be used in a substitution _expression_.
Spec section "22.214.171.124 Undefined Target Name Rule" states a substitution _expression_ operator that specifies an undefined target name is assigned a null value."
Cheng brings up a great edge case. I would argue that a property is not "defined" until it's value is assigned; if it's value contains a substitution operator, that the value cannot be assigned until the substitution is resolved; that the substitution references the very target name being defined, but not yet finished being defined, would fall under rule 126.96.36.199 and result in a value of null.
Chris Vignola, STSM, IBM
JSR 352 Spec Lead
WebSphere Systems Management Architect
phone: 1+(720) 396-7501
Kaushik Mukherjee---03/27/2013 12:59:17 AM---Cheng, The Batchlet level property in your example should resolve to "foo" instead of null. I bel
From: Kaushik Mukherjee/Poughkeepsie/IBM@IBMUS
Date: 03/27/2013 12:59 AM
Subject: [jsr352-public] Re: job properties resolution order and self reference
[jsr352-public] Re: job properties resolution order and self reference