Check if the time in the specified time fields is within the specified range.
Check that the time in the specified fields is within the specified range. If it is not, an error will occur.
If any errors are found, a list of corresponding field codes will be provided. If all fields are correct, the result will be an empty list. If a specific field in the table is specified, the action will only keep the result for the last row of that table. The results from the other rows are not included, so please exercise caution.
Set Field, Start Time, End Time, Whether to check with date, and Error Message.
Select which field to check.
*1: If you set a Condition that only applies to some table rows (such as the Condition “When Fields Value Changed”), the value will be set only for those affected by that Condition.
This parameter accepts the following field types:
Enter the start time of the time range.
Enter the end time of the time range.
Specify whether to check the range, including the dates, when the field value, Start Time, and End Time include a date.
In the case of “Compare only the time part,” even if the date is present in the field value, Start Time, and End Time, the date portion will be disregarded and only the time part will be compared.
For instance, if the field value is “2019-11-17 10:00,” the Start Time is “2019-11-18 08:00,” and the End Time is “2019-11-20 18:00,” using the “Compare with date” option will generate an error since the date is out of range. However, if the “Compare only the time part” option is selected, it will compare “10:00” with the time range of “08:00 to 18:00,” which will not result in an error.
In the case of “Compare with date,” the method of checking changes depending on whether the date is included in each of the field value, Start Time, and End Time.
If the Start Time is later than the End Time, caution is necessary.
Enter an error message to display if an error is detected.
The action is supported only under the following conditions:
You cannot set multiple errors at the same time. The error set last will be displayed in the krewSheet.