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.


Ovargas
2016-11-03T00:45:31Z
Hi,

I'm using {TASK(PrevTask,Result.NoCopiedFiles)} to know the amount of files moved by a task in a condition:

public class Test
{
// a VisualCron Condition must return a boolean which is the result of the Condition
public static bool MyCustomCondition(int valueX, int valueY)
{
return (valueY > 0); //where valueY ={TASK(PrevTask,Result.NoCopiedFiles)}
}
}

I don't have any problem with my other condition variable (wich counts the number of downloaded files in a task). But when I try with with this variable, the exception is:

11/2/2016 7:23:57 PM Debug DotNET Condition returned: MatchError (Error in argument is not a valid value for Int32.)

My task (Y) copy the files correctly in a different folder of same SFTP server and are show correctly as well in the output of that task.

Don't know what is happening in here😕

Can you please suggest?

Thanks in advance,
Omar.

Sponsor
Forum information
Support
2016-11-04T09:11:00Z
As mentioned in chat this Variable does not exist for Move/Copy FTP files. I am moving this topic to Feature requests.
Henrik
Support
http://www.visualcron.com 
Please like  VisualCron on facebook!
Ovargas
2016-11-04T22:23:31Z
Thanks so much for all your support and quick response during the chat!

Best regards,
Omar.
Scroll to Top