Help

Re: IS_AFTER problem, how to work around a single text value

Solved
Jump to Solution
1076 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Luke_McFadden
5 - Automation Enthusiast
5 - Automation Enthusiast

Screen Shot 2020-08-18 at 3.47.47 PM

Trying to automate adding/remove users from systems. Working fine… except I can’t understand how to get a “forever” value to return “KeepUser” while using this formula.
IF(IS_AFTER({Time math}, {Now}),“KeepUser”, “RemoveUser”)

My select values are all numbers, except “forever”. I’d like to keep it as a text option, but I’m not sure how to get around this in a formula?

1 Solution

Accepted Solutions
gwynn_kruger
6 - Interface Innovator
6 - Interface Innovator

Give this a try:

IF({Length of Time} = "forever", "KeepUser", IF(IS_AFTER({Time Math}, {Now}),"KeepUser", "RemoveUser"))

Here’s the field definition:

image

See Solution in Thread

1 Reply 1
gwynn_kruger
6 - Interface Innovator
6 - Interface Innovator

Give this a try:

IF({Length of Time} = "forever", "KeepUser", IF(IS_AFTER({Time Math}, {Now}),"KeepUser", "RemoveUser"))

Here’s the field definition:

image