factryflow / factryflow

GNU General Public License v3.0
6 stars 1 forks source link

Assignement Rules #67

Open Yacobolo opened 5 months ago

Yacobolo commented 5 months ago

Feature Overview: Assignment Rules

Purpose: The assignment rules feature is designed to help automate the allocation of workers to tasks based on specific criteria defined by the user. This acts like a query builder that filters and matches tasks to workers.

How It Works:

  1. Rule Creation: Users can create rules to assign specific workers to particular tasks. For example, if you want Worker A to only handle urgent tasks, you can set up a rule for this.

  2. Setting Criteria: Each rule consists of one or more criteria that specify which tasks should be assigned to the worker. Criteria can be based on the task's main fields or related fields, such as items associated with the task or jobs. For instance, a criterion could be that the task description starts with "urgent".

  3. Application Scope: Each rule is applicable to tasks within a specific work center. This means when setting up a rule, you must define the work center where this rule will apply.

  4. Handling Multiple Matches: It's possible for a task to match multiple rules. Therefore, it's important to prioritize rules within their respective work centers to determine which rule should take precedence when assigning a worker to a task.

Implementation Considerations:

Benefits:

By implementing this feature, the software will enable more dynamic and automated task management, ultimately leading to optimized operational workflows.


Please see the exsiting models

Yacobolo commented 5 months ago

Rule builder UI example image

Note: dont spend too much time on the UI in the beginning

riddick-oe commented 5 months ago

Action items from review:

More questions:

riddick-oe commented 5 months ago

Hi @Yacobolo, ^these are some notes @mrAvi07 and I discussed earlier to move forward with this task. Please let us know if these sound right or if there's anything to add or change.

riddick-oe commented 4 months ago