Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant