Has anyone figured out how to report time off as reported by users? | Community
Skip to main content
Level 10
April 25, 2016
Question

Has anyone figured out how to report time off as reported by users?

  • April 25, 2016
  • 18 replies
  • 2451 views
Has anyone figured out how to report time off as reported by users?
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

18 replies

Level 10
July 6, 2016
Does anyone know how to chronologically sort the dates returned in a collection?
Level 2
November 29, 2016
Thanks Robert, Where exactly do you type in the code? I went to Reports > Calendar > Edit Calendar Item, then the only options are tasks, projects, or issues. I've tried it in each, but have not seen the results that I expected. I just want to be able to overlay the time-off for everyone on my team. Seems like it shouldn't be this complicated. The list format is hard to use when you have a large team.
Level 9
November 29, 2016
You can report on it, but currently there is no way to add it to the calendar. We have had a feature request open for this since March 2015. Adina ________________________________
Level 3
November 29, 2016
Eric C. the text mode code I mentioned goes in a Report Columns (View), not a Calendar. Calendar Tasks, Projects, Issues only offer ways to filter the content shown on a Calendar. Notice that "Users" is not an option, where presumably we might access "reservedTimes" entries. Workfront will need to help us learn how to plot Time-off entries on a Calendar.
Level 2
May 18, 2017
Would anyone happen to know how I can change the valueexpression to do a sum of the datediff? I'm looking to get the number of days and multiple by 8. I have a teammate looking for a report that will like keyed hours + nonWorkDays + ReserveTimes.
Level 2
May 19, 2017
In case anyone was interested. I have created a valueexpression that will give you the hours for the time off for users. valueformat=HTML listdelimiter= textmode=true valueexpression=IF({endDate}<$$TODAYe+1w,"",DIV(WORKMINUTESDIFF({endDate},{startDate}),60)) type=iterate listmethod=nested(reservedTimes).lists displayname=Vacation Hours If you take a solid week off, this process will look at the user's schedule and not count days that are marked as off on the user's schedule. For example on our schedule, Memorial day is a day off for all. I marked the entire week off for vacation. This calculation returned back 32 hours instead of 40. Hope this helps. Now, I would like to get the schedule days off for this report. Haven't figured this out yet. Also, it still lists instead of summing the entire list. :-(
Doug_Den_Hoed_AtAppStore
Community Advisor
Community Advisor
May 20, 2017
Nice text mode noodling, Michael: I am impressed! Thank you for sharing. Regards, Doug
Level 3
May 25, 2017
Despite not being able to total the hours, this code reveals good stuff. Thanks. ps. I wonder if any text code is able to aggregate data in a collection?