Syntax FACTORY_DEF WindowingFactory [FACTORY_NAME ] [INPUT FEATURE_TYPE [ ]* []*]* [DURATION ] [UNITS SECONDS|MINUTES|HOURS|DAYS] [START_AT WORKSPACE|FIRST_FEATURE_TIMESTAMP|AT_TIMESTAMP] [START_AT_TIMESTAMP ] [HAS_TIMESTAMP ] [TIME_ATTR ] [WINDOW_ID ] [WINDOW_ID_TYPE WINDOW_START_TIME|WINDOW_END_TIME|WINDOW_NUMBER] [SEQUENCE_TYPE NONE|CHRONOLOGICAL_ORDER|REVERSE_CHRONOLOGICAL_ORDER] [TOLERANCE_INTERVAL ] [TOLERANCE_UNIT SECONDS|MINUTES|HOURS|DAYS] [OUTPUT (WINDOWED|OUT_OF_SEQUENCE|) FEATURE_TYPE [ ]* []*]* Overview Allow features in FME to be grouped based upon a period of time defined by the user. The DURATION clause specifies the window duration. The UNITS clause refers to the units of the DURATION, valid values are SECONDS, MINUTES, HOURS and DAYS. The START_AT clause defines when the first window initiates, valid values are WORKSPACE, FIRST_FEATURE_TIMESTAMP, and AT_TIMESTAMP The START_AT_TIMESTAMP clause should hold the user specified time, in fme or iso date time format for the first window. The HAS_TIMESTAMP clause can bet set to YES or NO. It determines how feature entering the factory are assigned to a window. If set to NO, then the features are assigned to the window from the current processing time. If set to YES, then the timestamp attribute specified via the TIME_ATTR clause is used for window assignment. The timestamp attribute must hold a valid FME/ISO Date/Time. The WINDOW_ID clause specifies the attribute for the window id. The type of window id is specified by the WINDOW_ID_TYPE, valid values are WINDOW_START_TIME, WINDOW_END_TIME, and WINDOW_NUMBER. WINDOW_START_TIME is the start time of an assigned window in seconds since the start of the Unix epoch, 00:00:00 UTC on 1 January 1970. Window start time before this date are in negative seconds. WINDOW_END_TIME is the end time of an assigned window in seconds since the start of the Unix epoch, 00:00:00 UTC on 1 January 1970. Window end time before this date are in negative seconds. WINDOW_NUMBER is an integer count for the assigned windows. The count starts at 0 and it is assigned to the first window. The number may also be negative, -1 is assigned to the window before the first window. The SEQUENCE_TYPE clause enforces the ordering of the output features. NONE: no order is enforced. All features are sent to the output port. CHRONOLOGICAL_ORDER: output features must be in increasing order by window ID. REVERSE_CHRONOLOGICAL_ORDER: output features must be in decreasing order by window ID. The TOLERANCE_INTERVAL clause specifies the tolerance interval. Features that arrive late are accepted if previous features have not passed the tolerance interval of the new window. The TOLERANCE_UNITS clause refers to the units of the TOLERANCE_INTERVAL, valid values are SECONDS, MINUTES, HOURS and DAYS. Output Tags WINDOWED Features successfully assigned to a window are output through this port. Features that could not be assigned to a window are output through this port.