Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
1 reply
Subscribers
7 subscribers
Views
771 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
i am testing lastndays expression using following value, lastndays(2
vineeta6579
over 10 years ago
i am testing lastndays expression using following value,
lastndays(2/15/2013, 6)
irrespective of the selected date it always return true ..
Any idea why its returning true always..
...
OriginalPostID-94483
OriginalPostID-94483
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 10 years ago
Make the input dynamic. For instance, if testing in the Rules Interface:
lastndays(ri!date, 6)
where "date" is a rule input of type date.
Or build the date you're passing using the todate() or date() functions.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel