- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2023 09:07 AM
Hello all,
I have created a flow with if statement and I got stuck on the condition.
Here are the condition:
- If user last login is more than 6 months
- If user last login is within 6 months
In flow designer, OOB has only After or Before but not Relative.
I would appreciate your help.
Regards,
Hong
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2023 08:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2023 09:33 AM
Hi @hongsok ,
You might need to create a custom script action for this, which checks the last login time and returns true/false (string type not Boolean and true means > 6 months and false means within 6 months) as output of the action.
Then you can use this output in IF condition to move further.
Anvesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2023 04:32 AM
Hi Anvesh,
Do you have the sample of the script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2023 08:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2023 08:54 AM
Thanks