Community forum

Please note that VisualCron support is not actively monitoring this community forum. Please use our contact page for contacting the VisualCron support directly.


persi
  •  persi
  • Paid support Topic Starter
2017-07-21T09:59:55Z
Hi Everbody,

i have a file writing task that loops.
That task writes correctly to several files from a source output (SQL Statement).
The first line from this source is the row that i want to write to the first line in these files.

Can i use "if" statements in the value field (in file writing task), so the variable that i filled up with the first line
will be written to every file the first time it loops. The second time in the loop only the the row "{LOOP(CurrentValueXLine)}" was written...

Like:

if {LOOP(PositionY)}=1 then {JOB(Active,Variable,LISTENKOPF)}
{LOOP(CurrentValueXLine)}

I hope, someone can "translate" this explanation ;-)

Thanks
Frank
Sponsor
Forum information
Support
2017-07-22T17:19:50Z
In your case I would use the .NET or PowerShell Task and pass the value to that script and make the logic there.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top