This commit is contained in:
2020-07-16 21:20:40 +00:00
parent 959eea8aa2
commit 68c5b30e5b

View File

@@ -80,11 +80,15 @@ namespace AyaNova.Biz
continue; continue;
//AgeValue //AgeValue
switch(ev.EventType){ switch (ev.EventType)
case NotifyEventType.ObjectAge: {
case NotifyEventType.WorkorderStatusAge: case NotifyEventType.ObjectAge:
case NotifyEventType.quote case NotifyEventType.WorkorderStatusAge:
} case NotifyEventType.QuoteStatusAge:
if (AgeValue != null && AgeValue < sub.AgeValue)//current object age value is less than subscription required age value? (not old enough)
continue;//then skip it
break;
}
//Here we know the sub matches so create the NotifyEvent here //Here we know the sub matches so create the NotifyEvent here