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

> Macro (excerpt)
> 
> ## Description
> 
> The Date Window precondition checks whether the value of one date field falls within the range/window of another date field. Date checking is only one-way; it only looks forward, not backward.
> 
> ## Configuration
> 
> You must select the two date fields and the window period when configuring the transition. For example:
> 
> ![Example of the Date Window precondition as described on this page.](media://3e3c1c84-8c16-42fd-b4e2-deae13b480b6)
> 
> ## Example
> 
> A workflow is configured so that the Close transition has the Date Window check. The Resolved date is checked using a window of 5 days with respect to the Created date. If the issue is resolved within five days of being created, a comment with the text `Quick Win!` will be added.
> 
> ## Supported field types
> 
> > Macro (include)