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.