Skip to content
This repository has been archived by the owner on Feb 12, 2025. It is now read-only.

Dynamic values are not working directly inside Task Condition Blocks #277

Open
lukzas opened this issue Jun 18, 2019 · 0 comments
Open

Dynamic values are not working directly inside Task Condition Blocks #277

lukzas opened this issue Jun 18, 2019 · 0 comments

Comments

@lukzas
Copy link

lukzas commented Jun 18, 2019

It seems that $[...] notation is not working inside Task Condition Block e.g.:

<conditions>
<compareCondition>
<value1>$[isReady]</value1>
<value2>False</value2>
<evaluation>notEqual</evaluation>
<ignoreCase>true</ignoreCase>
</compareCondition>
</conditions>
...
<selectParameter>
<name>isReady</name>
<allowedValues>
    <value name="True">True</value>
    <value name="False">False</value>
  </allowedValues>
</selectParameter>

The only way that works for me is indirect through replacement:

<dynamicValues>
    <directValue>
	<parameter>isReady</parameter>
	<property>conditions.compareCondition.value1</property>
    </directValue>
 </dynamicValues>

While the second approach is sufficient workaround for parameters, you can't do it for integration properties e.g. CCNetLabel.

Shall condition block implement IDynamicValue interface?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant