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
7 subscribers
Views
1479 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi, Does anyone know if there is a plugin or function that can be use
Rully
over 11 years ago
Hi,
Does anyone know if there is a plugin or function that can be used to extract the dates defined in the Appian specific calendar? We want to keep the holiday dates between Appian and our SQL Server in sync.
...
OriginalPostID-86115
OriginalPostID-86115
Discussion posts and replies are publicly visible
Parents
0
Eduardo Fuentes
Appian Employee
over 11 years ago
There's no plug-in to analyze a calendar but:
1. There are date and time functions that take a calendar name such as calisworkday() which will determine if the passed datetime is a working day or not
2. You can also use the API to analyze your calendars:
WorkingCalendar[] calendars = (WorkingCalendar[]) calendarService.getCalendarsPaging(0,
Constants.COUNT_ALL, TaskSummary.SORT_BY_NAME, Constants.SORT_ORDER_ASCENDING).getResults();
for (WorkingCalendar workingCalendarItem : calendars) {
//Use any method over workingCalendarItem that may fit your requirements from the ones available at
forum.appian.com/.../WorkingCalendar.html
}
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Eduardo Fuentes
Appian Employee
over 11 years ago
There's no plug-in to analyze a calendar but:
1. There are date and time functions that take a calendar name such as calisworkday() which will determine if the passed datetime is a working day or not
2. You can also use the API to analyze your calendars:
WorkingCalendar[] calendars = (WorkingCalendar[]) calendarService.getCalendarsPaging(0,
Constants.COUNT_ALL, TaskSummary.SORT_BY_NAME, Constants.SORT_ORDER_ASCENDING).getResults();
for (WorkingCalendar workingCalendarItem : calendars) {
//Use any method over workingCalendarItem that may fit your requirements from the ones available at
forum.appian.com/.../WorkingCalendar.html
}
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data