Assignment Rule

Version 12 added it (later versions made it better).

 

You can automatically assign documents to Users based on certain conditions and strategies with an Assignment Rule.

 

Assignment Rules are still a key way to fairly and consistently share work like support tickets, leads, tasks, or issues among team members in the latest versions of ERPNext (v14+).

 

An Assignment Rule can be used to automatically give support tickets to employees who work on support.

 

To get to Assignment Rules, go to:

 

Settings > Assignment Rule > Home

 

1. How to make a rule for assignments

To set up automatic assignment:

 

1. Click New on the Assignment Rule list.

 

Assignment Rule

 

2. Choose the type of document you want to automatically assign (like an issue, lead, task, etc.).

3. Type in the description that will go with the assignment and the To Do list.

4. Set the rules for the assignment.

 

 

 

In the Assign Rule, Close Rule, and Unassign Rule fields, you can write simple Python expressions that will automatically assign values.
You can use logical operators like and and or, as well as operators like >, <, ==, !=, etc., to access all of the document’s properties.

 

For example:

 

 

5. Choose the Strategy for the Assignment.

 

Round Robin

 

Gives each new document to users one at a time, making sure that everyone gets an equal amount over time.

 

Balancing the Load

 

Gives new documents to the user who has the fewest open assignments at the moment, which helps keep them from getting too busy.

 

 

 

Based on Field (added in v13 and expanded in later versions)

 

This feature assigns the document to the user specified in a selected User Link field within the document.

 

6. Depending on the chosen strategy:

 

Choose the list of Users to whom this Assignment Rule will apply for Round Robin or Load Balancing.

Choose the User link field that determines who is assigned to the task. This could be assigned_to, account_manager, or a custom User field.

 

 

 

7. Save the Rule for Assignments

 

In the Description field, you can use document properties. When the assignment is made, these values will be rendered in real time.
First, the rules for assignments with a higher priority are looked at and put into action.

 

For example:

 

Important Problem You have been given the task of fixing the file upload issue.

 

1.1 Rules for Multiple Assignments

You can make more than one Assignment Rule for a single Document Type. If a Document meets more than one rule, the one with the highest Priority is used first.

 

 

This lets you set:

 

 

 

1.2 Setting a due date for the assignment

You can automatically set due dates for assignments using a Date or Datetime field from the reference document.

 

For example:

 

Choose the Resolution By field in the Due Date Based On option in the Assignment Rule if you want the assignment due date to be based on the Resolution By date of an Issue.

 

 

 

This makes sure that the people who are assigned see the correct deadlines that match the document’s timeline.

 

Please Note:

 

  1. You can only see the Due Date Based On option after you choose a Document Type.
  2. At least one Date or Datetime field must be present in the chosen Document Type.
  3. When the referenced date field in the document changes, the due date in the assignment (To Do) will automatically change as well.
  4. Depending on how the rules are set up and the state of the document, Assignment Rules are triggered when a document is created or updated.

 

2. Topics that are related

 

Visit Us Here

Zikpro LLP
Talk to our consultant
×
Hello! How can I help you?
Discuss ERPNext