---
title: "Date Compare precondition"
canonical: "https://support.appfire.com/space/JSUCLOUD/12517956/Date%20Compare%20precondition"
format: markdown
---
> Macro (aura-html)

> Macro (excerpt)
> 
> ## Description
> 
> The Date Compare precondition compares the values of two date fields on the issue. For example, one field must be greater than the other.
> 
> ## Configuration
> 
> You must select the two date fields and the comparison function for the check when configuring the transition. For example:
> 
> ![Date Compare precondition where the Resolved date is greater than the Due Date.](media://b3854595-f6c3-42f7-95c8-bdccb1715fd0)
> 
> ## Example
> 
> A workflow is configured so that the Resolve transition has the Date Compare check where `Resolved date > Due date`. If a user attempts to resolve an issue on this workflow where the Resolved date is after the Due date, the check will succeed, and a comment will be created regarding the late resolution.
> 
> ### Supported Field Types
> 
> > Macro (include)