This document describes how to compare timestamps when performing your own custom process authoring.
Cisco recommends that you have knowledge of these topics:
Tidal Enterprise Orchestrator (TEO)
General Content Authoring or Programming
The information in this document is based on TEO.
The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.
Refer to Cisco Technical Tips Conventions for more information on document conventions.
There is an activity called Calculate Date Time Difference which takes in a date and a subtracted date. It is preferred to use this activity in your content authoring.
Complete these steps:
Use the actual date/time variable type and not the string. You can confirm that it is the correct variable type as it will have a calendar type icon when selected. For example, Process.Start Time and Process.End Time.
If you have a configured date/time, run it through the parse date activity to turn it from a string into a date/time variable. Once complete, you can compare it to another date/time variable.
In order to verify the date/time variable, put it into your comparison and you should see a standard numeric type comparison operator, such as <, >, or =.