Hello,
With the following code snippet, I am trying to create a condition, then add it to a condition set, then add the condition set to the server object.
The result is that the condition set can be see in Visual Cron, but it is an empty set. It is as if cs.Conditions.Add(cc1); is not having an effect.
Any help would be greatly appreciated.
ConditionClass cc1 = new ConditionClass();
cc1.ConditionType = ConditionClass.ConditionT.VisualCron;
cc1.CVisualCron = new ConditionVisualCronClass();
cc1.CVisualCron.MatchType = ConditionClass.MatchT.MatchIsNot;
cc1.CVisualCron.CheckType = ConditionVisualCronClass.CheckT.TaskOutputIs;
cc1.CVisualCron.Contains = "";
cc1.CVisualCron.LocatorType = ConditionVisualCronClass.LocatorT.Auto;
ConditionSetClass cs = new ConditionSetClass();
cs.Description = "API Prev Task has StdOut";
cs.Conditions.Add(cc1);
server.Conditions.Add(cs);