Date Overdue Rule

This validation rule checks if the DateTime value of the specified DateTimeAttribute of a Document Object's date, is older than the current datetime.

If so, an inconsistency is displayed.

 <DateOverdueRule AttributeName="Due Date" WarnDaysInAdvance="5"/>

AttributeName (Required)

The name of the Date Time attribute.

WarnDaysInAdvance (optional, default: 0)

Create a warning inconsistency the specified number of days before the date time value is due.

Note! This validation rule can be combined with an AttributeValueRule or OpenIssue rule in the following manner:

<CombinedRules Combination="OR">
  <DateOverdueRule AttributeName="Due Date" WarnDaysInAdvance="1"/>
  <AttributeValueRule AttributeName="Status">
    <ExpectedValue>Closed</ExpectedValue>
    <ExpectedValue>Duplicate</ExpectedValue>
    <ExpectedValue>Misunderstood</ExpectedValue>
  </AttributeValueRule>
</CombinedRules>

Last updated

Was this helpful?