hello,
I'm new with Appian. Im trying to build a test application to showcase to some people. I'm at the beginning stages and currently building an Interface. I made a simple form where you fill in your birth date. Now I want another drop down component to appear only when the age of the person is equal or greater than 67. I created taht component and checked the "only show when" function. Now I'm trying to come up with the condition I need to fill in but can't figure it out.
I currently have something like this:
tointeger(today() - ri!BirthDate) >= ?
Can someone help me out?
Discussion posts and replies are publicly visible
You could create an expression rule that tests whether a certain date is greater than a certain number of years in the past - or just plug the code in where you need it if you just need it once. The code I came up with that should take care of your use case is: ri!birthdate <= date( year(now()) - ri!age, month(now()), day(now()) )