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
15 replies
Subscribers
7 subscribers
Views
3252 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
We'd like to handle exceptions based on two criteria, a deadline and a boole
Richard
over 10 years ago
We'd like to handle exceptions based on two criteria, a deadline and a boolean field. I've set up an expression based exception that looks like this: and(pv!TaskBundle.Result.Deadline<=now(),pv!EscalationsOn).
What I'm hoping to achieve is that when pv!TaskBundle.Result.Deadline (Date and Time) passes, and pv!EscalationsOn is true, we'll execute our exception, but it's not working.
I'm going to assume that I'm doing something really obviously stupid.
...
OriginalPostID-102460
OriginalPostID-102460
Discussion posts and replies are publicly visible
0
Richard
over 10 years ago
Ah, just got your latest update.
I'm not even 100% on how an expression is evaluated in the context of an exception. Is it evaluated periodically?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Cichy
Appian Employee
over 10 years ago
pv!Deadline<=now() is a timer based exception, you need to use a timer not a rule.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Richard
over 10 years ago
Except that I can't couple a timer with a different type of value, can I?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Cichy
Appian Employee
over 10 years ago
Yes you can. Select Timer->Setup>click on Show Advanced Options and you can provide additional conditions for the timer to fire.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Richard
over 10 years ago
Cheers, just figured that out, funny how you develop blinders to things like "show advanced options".
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
<