Date Greater Than
Component definition
This component compares a date with another date to determine which is "greater" (occurring later). The component follows the appropriate outcome path based on the result of the date comparison. Both dates can be constant or process data.
Component icon
Description of component output paths
Unknown
The component output paths are described in the following table:
Property |
Description |
true
|
The path that is followed if the first date occurs after the second date.
|
false
|
The path that is followed if the first date occurs before or at the same time as the second date.
|
Description of component tabs and their properties
The properties on the Configuration tab in the Date Greater Than component are listed and described in the following table:
The properties on the Settings tab in the Date Greater Than component are listed and described in the following table:
Connection information
Not applicable
Component settings
Unknown
Use cases
Some examples for the Date Greater Than component are as follows:
Hardware order request
Scenario: A hardware order request form includes a requested delivery date field. This information helps the purchasing department order and deliver hardware requests according to priority.
Process: This process is created as a Forms (Web) Project type.
The following screen shot shows the process:
The following screen shot shows the run-time form:
The Delivery date requested box creates a variable called RequestedDate. The date that is requested must be after the current date. A Date Greater Than component compares RequestedDate against the current date.
If the RequestedDate variable is not later than the current date, the Date Greater Than component renders a "false" outcome path. The false outcome path sends the requester back to the form, where an error message prompts for correction.
The Get Current Date component is essential in this process. It creates a current date variable that the Date Greater Than component uses in the comparison.
This method of date validation can be applied to a variety of date-specific situations, which includes vacation requests, deadline/gate control, and scheduled maintenance notifications.
Other components in this example are as follows:
Form Builder
Get Current Date
Send Email