Tulasi
(Tulasi Sowjanya Pallaprolu)
October 18, 2024, 10:22am
1
Hi all,
I am facing An issue like I need to compare my startdate using The comparetimestamp operator but my startdate is in string format is there a way to convert the startdate from string to ISO8601 format in the workflow, Any suggestions will be helpful
Thank You
Abhinov7
(Abhinov Dhonthula)
October 18, 2024, 10:33am
2
Hi,
You can create one more identity attribute and convert the date into ISO8601 format in that identity attribute.
You can use the newly created identity attribute for date comparison in workflows.
-Abhinov
Tulasi
(Tulasi Sowjanya Pallaprolu)
October 18, 2024, 11:05am
3
The thing is we are getting this date from the external trigger
Abhinov7
(Abhinov Dhonthula)
October 18, 2024, 11:12am
4
Hi,
You can try using the variable.
In variable use the date formatter, or you can use the transform as well. Exactly not sure if it works but you can give a try.
-Abhinov
1 Like
Tulasi
(Tulasi Sowjanya Pallaprolu)
October 18, 2024, 12:22pm
5
yes tried but it didn’t work it is expecting the input in the ISO8601 format
Abhinov7
(Abhinov Dhonthula)
October 18, 2024, 12:43pm
6
Hi,
Can you send me the format of date you are getting from external trigger?
-Abhinov
Abhinov7
(Abhinov Dhonthula)
October 19, 2024, 12:04pm
8
Hi,
If your date format from external trigger is always fixed then you can split and convert the date to ISO format and use it.
I created a skeleton of workflow for you.
You can refer this.
-Abhinov
test20241019.json (4.6 KB)
2 Likes
Tulasi
(Tulasi Sowjanya Pallaprolu)
October 21, 2024, 11:02am
9
Thanks Abhinav it worked.
system
(system)
Closed
December 20, 2024, 11:02am
10
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.