Bonitasoft Working hours

1
0
-1

Hello everybody I wonder if there is a way to set up working schedule for each user so they dont receive new tasks when they are not in working hours.

Thnx in advance.

Comments

Submitted by Sean McP on Fri, 11/27/2015 - 04:52

Why?

Don't get me wrong but really, why?

The whole point of a system like this is that they can pick up tasks when they start work, and end when they leave work. They won't do them when they are not in the office so if a task arrives 5 minutes after they leave does it matter? No, they will do it tomorrow.

What about the assigning task? Are you going to suspend it and leave it on the queue overnight until 9AM, let it to restart and then send all messages out? That would be more problematic I'm sure...

Who would manage the schedule of working hours for each user? How would that be managed? How many people? 5 people, 10 people, 50 people, 100 people? You would need 100 more people just to manage the peoples schedule.

The other thing is, and this is the real reason for asking Why. By default Bonita assigns to a pool of users through the Actor. Therefore no-one is assigned until the task is picked up. Only when it is specifically assigned to an individual user would this scenario be true, and they depending on their role, are likely to want to have their tasks assigned to them sooner rather than later.

regards
Seán

PS the way I would do it is:

  1. Create a process for managing individuals Calendars (a major development in itself)
  2. For every application add a task that saves the next task and next user to a database list
  3. Every hour (5 minutes or what ever schedule you want) run a batch task that will poll the database and assign tasks according to the users calendar.
  4. Don't forget to add a monitoring process to monitor the batch run task in-case it fails
  5. Done

This is not default and you will have to do this yourself.

Submitted by mzhu on Mon, 11/30/2015 - 17:14

Thnx for your comment, and I understand your point of view but let me try to change my question a little and put more attention into the due date of a task, let´s say for example that I estimated the duration of a task to be 2 hours and I work from 8:00 A.M to 5:00 P.M, if I receive a new task at 5:30 for example Ill not have time to complete but If I leave it till tomorrow it will appear as if it were not completed in time which is not true, taking in consideration the working hours could help or am i wrong?

Submitted by Sean McP on Mon, 11/30/2015 - 17:25

Ah the perennial problem of reality and metrics reporting.

I would in this case simply create my metrics report to consider anything scheduled after 15:00 (3PM) to start tomorrow and not today. However it will start at 08:00 and must then be completed accordingly.

I would also highlight the tasks (number of tasks) that have been carried over as management should be aware of % of the day that are started towards the end of the day rather than during the rest of the standard hours.

It would be easy to consider system time vs working time in this case and management must accept the difference between the two, it's standard practice.

regards
Seán

No answers yet.
Notifications