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
2 replies
Subscribers
6 subscribers
Views
1469 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
I have the following two escalations for a task. caladddays(todatetim
Cyril
over 13 years ago
I have the following two escalations for a task.
caladddays(todatetime(pv!request_onhold_date),20) - send message after 20 days
caladddays(todatetime(pv!request_onhold_date),25) - send message after 25 days.
The date in the process pv! = February 26, 2012
Adding only 20 days or even 25 days should not cause any problems. Why then am I receiving an alert: Details: ERROR:EVAL:Function caladddays: Cannot add more than one year's worth of days.
OriginalPostID-25354
OriginalPostID-25354
Discussion posts and replies are publicly visible
0
Alok Mohare
Appian Employee
over 13 years ago
Try creating a test rule in the “Rules” tab in designer to test your expression.
Is the expression failing for a specific date or does it fail for all dates? What happens if you use a alternate expression to calculate the escalation timer? Does it still fail?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Cyril
over 13 years ago
I found the error. I changed some dates in UAT to be non-working days. Running the test in DEV - it all worked. Then I applied the same changes to the calendar in DEV and low and behold, as appears in UAT, ALL dates are now changed to non-working dates.
Since I had already set the same non-working dates in PROD environement I checked there too - and we have a corruipted calendar there too.
I NEED TO RECREATE THE CALENDAR - reset it to the default ASAP
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel