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
4 replies
Subscribers
8 subscribers
Views
2913 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
AI and Rules
Hi, We have a requirement to return the previous working days, just like how ca
arjunv
over 9 years ago
Hi, We have a requirement to return the previous working days, just like how caladddays() returns a date time based on given number of net work days after the start date time. Is there a way to achieve this?
Thanks in advance.
OriginalPostID-203236
OriginalPostID-203236
Discussion posts and replies are publicly visible
0
vishnuv
A Score Level 1
over 9 years ago
@arjunv, please go through below link which might answer your question
forum.appian.com/.../Function_Recipes.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mike Cichy
Appian Employee
over 9 years ago
I believe you are looking for this:
forum.appian.com/.../Date_and_Time_Functions.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Dan Lluhi
Certified Lead Developer
over 9 years ago
This one might help as well:
forum.appian.com/.../Date_and_Time_Functions.html
It allows you to pass in a date and the number of days to go forwards or backwards. It doesn't take into account any holidays added to the system calendar however, so you'll have to pass in holidays explicitly to this function.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
monikar
over 9 years ago
workday function can be used to get the previous working day before certain number of days. This will exclude the weekends by default along with the holidays provided.
Ex: workday(starting_date: today(), days: -7, holidays: null)
The same function can also be used get the future working day when the days parameter is given as positive integer.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel