Xml Create Node: Attribute problem - VisualCron - Forum

Community forum

GaryVS
2013-01-08T19:03:42Z
Every time I try to use a variable in the Attribute's value field of a Create Node, it writes out the variable but doesn't translate it.

I made a simple loop over an excel document, read cells.
In the loop
I created a node called Child to verify.
I set its value to {LOOP(Iterations)}
Under the Attributes tab I clicked Add
I entered the name as LoopIteration and the value set to {LOOP(Iterations)}.

I expected
<Child LoopIteration="1">1</Child>
<Child LoopIteration="2">2</Child>
<Child LoopIteration="3">3</Child>

This is what I get.

<Child LoopIteration="{LOOP(Iterations)}">1</Child>
<Child LoopIteration="{LOOP(Iterations)}">2</Child>
<Child LoopIteration="{LOOP(Iterations)}">3</Child>

I tried with loop variables, static variables I created and same result.

Anyone know what I might be doing wrong?
bbusse
2013-01-08T21:09:59Z
That just sounds like an update is needed to VisualCron to fix the use of variables where you're trying to use them. Similar issue with Registry tasks previously, attempting to use a variable.

Henrik?
Support
2019-06-13T09:48:01Z
I am sorry if this as missed by us. Please test this build: https://www.visualcron.c....aspx?g=posts&t=9532 
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top