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
6 replies
Subscribers
9 subscribers
Views
1704 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi, When you configure an escalation for a task (ie. 2 days), does it look
garym
over 9 years ago
Hi,
When you configure an escalation for a task (ie. 2 days), does it look at the calendar and base it on working days only or is it just a straight 2 days from the time the task is initiated?
Thanks,
Gary
OriginalPostID-181188
OriginalPostID-181188
Discussion posts and replies are publicly visible
Parents
0
TJ
A Score Level 2
over 9 years ago
You may use following steps to do it:
1. Use custom calendar to mark holidays
2. Use following code to calculate non working days and escalation deadline
with(
local!days:fn!enumerate(ri!days)+today(),
local!nonWorkDays:fn!apply(fn!calisworkday,local!days),
local!NWDCount:fn!count(fn!wherecontains(false(),local!nonWorkDays)),
ri!days+local!NWDCount)
3. Currently fn!calIsWorkDay() shall return weekend and non working day. You may use your custom calendar for personalized holidays.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
TJ
A Score Level 2
over 9 years ago
You may use following steps to do it:
1. Use custom calendar to mark holidays
2. Use following code to calculate non working days and escalation deadline
with(
local!days:fn!enumerate(ri!days)+today(),
local!nonWorkDays:fn!apply(fn!calisworkday,local!days),
local!NWDCount:fn!count(fn!wherecontains(false(),local!nonWorkDays)),
ri!days+local!NWDCount)
3. Currently fn!calIsWorkDay() shall return weekend and non working day. You may use your custom calendar for personalized holidays.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data