Log data type checks every 5 minutes
Recipe ToolsMarketingDeveloper Tool
What it does
When the clock triggers every 5 minutes, this automation runs JavaScript code to validate data types. The getdatatype code executes on schedule so data type checks happen continuously without manual intervention.
Who it's for
Engineering teams who need to validate data types at regular intervals.
How teams use this
Monitor data type consistency
Run the getdatatype check every 5 minutes to catch data type mismatches as they happen. The team sees results in real time without setting up manual checks.
Send results to a logging system
Extend this automation to include a connection to a logging system so the team can track data type changes over time and audit the history.
Alert on unexpected data types
Add a condition after the JavaScript step to check if the data type matches what is expected, then notify the team only when it does not match.
How it works
- Run on a 5-minute schedule. This automation starts every 5 minutes so the JavaScript code runs repeatedly without someone having to initiate it manually each time.
- Run the getdatatype code. Js Eval executes the getdatatype JavaScript code to check and return the data type of the specified variable or object for validation.