CHECK command
There are times when you might need to track certain events or non-events. In some cases, these requirements might come from Service Level Agreements (SLAs) that you have with your trading partners, where a given delivery performance is part of the contract. In other cases, you might want to trigger another event. In the context of the Cleo Harmony or Cleo VLTrader system, this relates to the presence and movement of files and directories. The Cleo Harmony or Cleo VLTrader file/directory/transfer checking feature accommodates this capability through the CHECK command.
The CHECK command provides a way for you to check whether certain internal or external file movement has occurred within expected time periods and within given optional criteria. For example, you can check for the following conditions:
- if an expected inbound transfer has occurred within a specified period
- if an expected outbound transfer has not occurred within a specified period
- if a file is older than a specified age
- if a directory is not older than a specified age
If the CHECK conditions are met, you can use the Execute On
Check Conditions Met
property to trigger subsequent events or you can use the
Email On Check Conditions Met
to send email to key personnel.
Conversely, if the CHECK conditions are not met, you can use the
Execute/Email On Check Conditions Not Met
properties. Note that there
are no inherent pass/fail or success/error assumptions within the CHECK
command. You have complete flexibility to specify the conditions for which you are looking;
and, when the those conditions are met or not met, you can decide what action to take.