Classify By Age

 

<< Click to Display Table of Contents >>

Navigation:  Nodes > Tasks > Classifiers >

Classify By Age

 

 

Purpose

 

This node discriminates if the creation (or last modification) date of the input file is younger or older than the current system clock minus a given time interval, thus sending each case trough a different connector (younger / older).

 

Inputs

 

input: To connect files to filter. For example you can connect a Folder or Watcher node.

 

Note: this is just the initial template, you can add more input connectors as needed.

 

Outputs

 

younger: output for files younger than the current date minus the time defined in the Timer property.

 

older: output for files older than the current date minus the time defined in the Timer property.

 

Standard properties

 

Object Name

Color

Bypass

Lock

 

Python standard properties

code

 

NOTE: An introduction to all the Python tools in Mistika Workflows is available in the Python scripting tools section.

 

 

Node specific properties

 

timer: To set the comparison time, measured in the time units below.

 

timeUnits: To select which time units: Seconds, Minutes, Hours. Days or Weeks.

 

 

Developer reference (Python - ClassifyByAge.[Property ID], API Rest - node/ClassifyByAge/property/[Property ID])

 

Property Label

Property ID

Timer

timer

Time Units

timeUnits