Using nested properties
You can use multiple property references to dynamically construct a property within a process step.
About this task
${p:agent/{p:application/prop1}.agent.propertyname}, is not supported.
However, you can use system properties to construct outer property references. When you run
a process using this method, property resolution runs multiple passes until no further
changes are made. For example, you want to pass
${p:agent/{p:application/prop1}.agent.propertyname} property in a
process. In this case, property resolution performs three passes in the following sequence
after you run the process:- If
application/prop1resolves toA, the first pass simplifies the expression to${p:agent/A.agent.propertyname}. - The second pass resolves that property reference to the value of
propertyname. - Assuming that the
agent/A.agent.propertynamedoes not contain anymore property reference, the third pass makes no change and the resolution stops.
Procedure
-
Create the following system properties from the
page:
Property name Property value propStart${p:rightBracket} -
In the process step, replace the nested property reference with the
following expression:
${p:propStart}agent/${p:application/prop1}.agent.propertyname${p:rightBracket} -
Run the process.
The system resolves the property references one at a time after multiple passes until no further changes occur.