- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2023 02:34 AM
hi there
I have catalog item with a variable 'u_business_need_by_date' of Date type
in flow designer , how do i use the if condition that is
if 'u_business_need_by_date' is greater than current date then evaluate to true
i have attached a screenshot
please provide examples
Thank
Levino
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2023 06:19 AM
Hi @levino ,
Create a flow variable and set the value of this variable by creating a custom action and then you can use it in your condition.
Within custom action you can simply return gs.nowDateTime();
Hope this will resolve your issue. please mark the answer help/correct if it resolves your issue.
Thanks !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2023 06:19 AM
Hi @levino ,
Create a flow variable and set the value of this variable by creating a custom action and then you can use it in your condition.
Within custom action you can simply return gs.nowDateTime();
Hope this will resolve your issue. please mark the answer help/correct if it resolves your issue.
Thanks !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2023 04:49 PM
Hi Shashank
thanks for your response.
i have created the flow variable, as a input variable, where do i set values (return gs.nowDateTime)
also my variable on the catalog item is just of Date type, when i compare the 2 in the if condition would it cause a issue
I am new to flow designer, hence the first question
Thanks
Levino