Working with User Variables - VisualCron - Forum

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


trevinom
13 years ago
I have a User Variable that I set up as an Int32.
I want to dynamically set this value to that of a value in a text file.
I tried to set it to '{File(Content|)}' and it says "Error converting value to chosen datatype."
It gives me the equivalent message when I try reading the file using the
User Variable = {TASK(PrevTask,StdOut)}

Any suggestions?
Sponsor
Forum information
Support
13 years ago
What kind of value are you referring to? Because, it will throw an error if it is not able to convert it to Int32.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
trevinom
13 years ago
The value in the textt file will always be a single digit number.
Support
13 years ago
So, you say you use the Set Variable Task after another Task has been run and you use the value {TASK(PrevTask,StdOut)} in the Set Variable Task?

If yes, please paste the exact output from output column of previous Task here.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
trevinom
13 years ago
The error window is put up as soon as I click 'ok' after setting the variable to stdout.
Also forgot to mention, I'm running your most recent version:6.1.1
trevinom attached the following image(s):
Support
13 years ago
We added an optional evaluation of the value before saving for next version. Thanks for the report.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
trevinom
13 years ago
You're welcome.
Thank you for the quick response.
Scroll to Top