Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: Tim MeagherHey,
I've an attached a graph which shows how to do this for long, date, and time values.
Similar logic could be used for datetime as well.
The Interval Inspection node requires that the SequenceExpr evaluate to a number (long, int, double).
Therefore, if you are comparing string data, you would first need to be able to create a numeric representation of that string which can be then used for the comparison.
In the case of the "CallingNumber" example you had above this will simply involve converting the string to a long value.
For dates, and times, you can construct your SequenceExpr based on the type of interval you are looking for.
In the examples I've attached, I am checking that all of the time fields are 1 second apart.
In the date case, I'm checking that they are each 1 day apart.
Hope this helps.
Tim.
Attachments:
IntervalInspection.brg