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.


trevinom
2012-05-11T15:51:14Z
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
2012-05-14T09:38:17Z
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
2012-05-14T12:03:08Z
The value in the textt file will always be a single digit number.
Support
2012-05-14T12:07:27Z
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
2012-05-14T12:35:25Z
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
2012-05-14T13:16:55Z
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
2012-05-14T13:23:54Z
You're welcome.
Thank you for the quick response.
Scroll to Top