Hi Naman,
It is bit tricky to Validate whether given string is time or not. However if you can implement same Choice logic inside a Code stage it will be very easy for you to find it out.
Example C# Code for validating and storing it to respective data type
TimeSpan.TryParse(input, out timeOutput) // For Time and TimeSpan parsing
int.TryParse(input, out intOutput) // For number
DateTime.TryParse(input, out dateTimeOutput) // For DateTime
bool.TryParse(input, out flagOutput) // For Flag
Above code snippet will returns true if the input value is valid time/number/datetime/flag and stores time value to respective data item.
Please do let me know if you have any questions.
------------------------------
Srinivasa Tammineni
------------------------------
Original Message:
Sent: 08-04-2021 09:39
From: Naman Chauhan
Subject: Text getting identified as DateTime instead of Time
I have a String(Text) which is formatted as Time but when I evaluate the expression, the text gets identified as DateTime. As no date is mentioned in the text, the present date(Today()) is added to it automatically.


For e.g. Text 07:04:12 will get converted into 04-08-2021 07:04:12 if today is 04-08-2021 instead of Time 07:04:12.
What I really want is:
Taking a Text and deciding whether that string is a Flag, Text, Number, DateTime, etc and storing that string to it's data item after type conversion.
------------------------------
Thanks,
Naman Chauhan
------------------------------