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


Tomix
  •  Tomix
  • No customer Topic Starter
2010-07-19T16:50:11Z
Hello there.

I just want to use a user variable i have set

{TASK(379648dc-7573-480c-8a16-a0c020958ed4,LastRun,M/d/yyyy h:mm tt)}

UserPostedImage

i want to compare this one to a modifed date of a file i consider to handle or not, depending of the followin rule set, but i get the failure message:

UserPostedImage

The strange thing is, that - thinking of what the "mouse over" shows - the variable seems to be fine, but i just can´t use it there.

So, is this just due to my stupidity 😁 😲 or maybe is it a bug???

Thanks in advance folks.
Bye,
Tomix
Sponsor
Forum information
Support
2010-07-19T16:54:30Z
The main problem with this approach is that the User Variables is translated into a string Variable which cannot, as in that form, be compared to a date.

You could probably create a date Variable from that string by enclosing that User Variable in a Date Variable (give that you specify the exact same format).
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Tomix
  •  Tomix
  • No customer Topic Starter
2010-07-19T17:16:00Z
Support wrote:

The main problem with this approach is that the User Variables is translated into a string Variable which cannot, as in that form, be compared to a date.

You could probably create a date Variable from that string by enclosing that User Variable in a Date Variable (give that you specify the exact same format).




Hi,

thanks for that ultra fast reply 😁

can you tell how i can do convert a string to date pls 😊 ?

Beside this,
i guess , then this should have worked, because it should deliver a date, right?

UserPostedImage

Greetz,
Tomix
Support
2010-07-20T11:19:52Z
We realized it wasn't that simple. We did some changes and released a new version. Please test this attached version. You should be able to use your Variable right away without having to wrap it into another Variable.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Scroll to Top