Question / Problem:
In the JobProperties() class, what is the difference between TimeSpent vs. WorkingTimeSpent?
Answer / Solution:
This is related to the Business Calendar, which is enabled within Server Settings ->‘Work Process’ menu item.
TimeSpent in seconds is the time spent performing the activity. WorkingTimeSpent in seconds is the time during working hours that was performed for the activity.
For example, say your Business Calendar has defined the working day as 09:00 to 17:00 and an activity gets taken at 08:55 and subsequently completed at 09:05. The TimeSpent on this activity in 10 minutes since TimeSpent is the time spent from when it was taken until it was completed. The WorkingTimeSpent on the activity is 5 minutes since the business day starts at 0900 and only 5 minutes of the working day was used to complete this activity.