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
3 replies
Subscribers
6 subscribers
Views
2375 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
I have a requirement to escalate a task and then fire a recurring escalation eve
peterh
over 10 years ago
I have a requirement to escalate a task and then fire a recurring escalation every 2 hours until the task is completed. They would like all escalations (including recurring) to only be sent during business hours.
Has anyone found a way to send recurring escalations only during business hours?
The escalation time is not captured in the system so I can't increment the escalation time and use the Appian cal functions.
I would like to use OoB escalations.
OriginalPostID-146620
OriginalPostID-146620
Discussion posts and replies are publicly visible
0
Mike Schmitt
Certified Lead Developer
over 10 years ago
Can you clarify on precisely what form your escalation will be? Send Message / Alert / email / etc?
The first thing that occurs to me, though this somewhat depends on your particular implementation, is that you could use the Timer Conditions in the escalation timer (e.g.
screencast.com/.../g4MDUAHh20Jj
) to prevent the timer from firing when the current time (now()) is outside of business hours. There would need to be an external expression rule (in my example, "isInBusinessHours(time)", which would return a boolean based on your particular requirements.
(Note that I'm not 100% sure without checking first, that the "now()" function will re-evaluate properly each time the timer is due to fire, but I think it will.)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
peterh
over 10 years ago
Great idea. I can confirm that now() is evaluated dynamically from within the Timer Condition every time it fires. Thanks for the help!
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
jaishankarj
over 9 years ago
You can even use "calisworktime()" function as well to check whether your time lies in Business Hours or not. try using "calisworktime(now())". Point to note here is that the calendar has not been specified and it will take default calendar.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel