Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Provide a method for assigning tasks to certain users in the system.
Necessary components:
* "Assigned To" field on all Log entities that allow you to reference users in the system
* "My Plan" - a View of all Log entities that are assigned to you
* When a task is assigned, send the user an email to notify them (using Rules module?)
* Views Bulk Operations for assigning multiple tasks at once
Comments
Comment #1
m.stentaComment #2
m.stentaA related task is #2402943: [META] Time tacking - which will add an ability to track hours spent on each task, so you can determine how much it costs.
Comment #3
veerag CreditAttribution: veerag as a volunteer commentedHere, I want to add some points,
* "Need to add re-assign/delegate tasks to users. "
* "System should notify the users tasks add/changes/assignments to immediate hierarchical management(Mangers/supervisors) via mails or some web notifications
Comment #4
veerag CreditAttribution: veerag as a volunteer commentedComment #5
m.stentaRegarding your point ("Need to add re-assign/delegate tasks to users.") - we could potentially use the Views Bulk Operations module. This would allow a Manager to assign multiple tasks to a single Worker at the same time, by clicking the checkbox next to each one, and then clicking a button called "Assign" or something like that.
We are already using the Views Bulk Operations module for the buttons "Done", "Not Done", "Clone", and "Reschedule" - for performing actions to multiple tasks at once.
I will add that to the description of this feature request above...
I'm not sure I understand your second point ("System should notify the users tasks add/changes/assignments to immediate hierarchical management(Mangers/supervisors) via mails or some web notifications") - can you describe what you mean?
Do you mean a notification should be sent to the Manager under some circumstances?
Comment #6
veerag CreditAttribution: veerag as a volunteer commentedYes,
Notification(Mails / push notifications for mobile apps) should be sent to the Manager under some circumstances(Labor or supervisors ).
These guys should be notified, then can start work on their assignments.
This will leads reducing phones calls from managers or Land lards to the farm labors. And they can track easily when they want evaluate a person based his assignment progress.
Comment #7
m.stentaI am working on this now.
I am going to do an initial pass at making it possible to assign tasks, but I'm splitting the "notification" aspect out into a separate feature request that we can discuss and work on as a follow up in the future: #2885552: Task assignment notifications
Comment #8
m.stentaComment #9
m.stentaI am also splitting the bulk-assignment button out into a separate followup task: #2885831: Button for assigning logs in bulk
Comment #11
m.stentaThis is done (with the exception of: #2885831: Button for assigning logs in bulk and #2885552: Task assignment notifications).
Commit log (in reverse order):
* 5b96874 Add a View of logs assigned to specific users at user/%/logs.
* 30d843d Remove unused contextual filters from farm_log View.
* bd9fd9a Add a dependency on farm_fields because farm_log works with some of the fields it provides.
* 5617924 Update hook to populate all log owner fields with the log's author.
* 559c6a1 Automatically populate log owner fields with the currently logged in user (if empty).
* b655ea9 Minor comment change.
* 6be845f Add log owner column, filter, sort to all Views.
* 4ae857b Add "Owner" field and "Assignment" field group to all log types.
* 9eb5605 Add "log owner" user reference field base.
* 9691c49 Add an Entity Reference display to the Farm People View.