Create and manage Assignment rules in Salesforce

Get articles everyday as a email directly to your inbox:
Click to publicize, if you like this article :

Assignment rules are used to automate your organization’s lead generation and support processes.

  • Lead Assignment Rules – Specify how leads are assigned to users or queues as they are created manually, captured from the web, or imported via the lead import wizards.
  • Case Assignment Rules – Determine how cases are assigned to users or put into queues as they are created manually, using Web-to-Case, Email-to-Case, On-Demand Email-to-Case, the Self-Service portal, the Customer Portal, Outlook, or Lotus Notes.

Aim : All the cases created by user ‘jZaa’ should be assigned to ‘Jitendra Yahoo’.

To create this Assignment rule, go to Setup | App Setup | Cases | Assignment Rules and on right hand side click on New.

In first step, give the assignment rule name, lets say name is ‘to jitendra Yahoo’. You may have noted the check box which says “Set this as the active case assignment rule” click on this.

After creating rule, click on that rule and click on New.

Rule Entry for the Case Assignment in Salesforce

Rule Entry for the Case Assignment in Salesforce

As you can see in above screen shot, at step 1 enter the order in which this rule should be run, as there may be multiple rules in assignment.

in step 2 we can choose criteria or formula. here i have choose the option to create formula.

In step 3, i have written the formula that if user alias is ‘JZaa’

In step 4, i have assigned the case to user “Jitendra Yahoo” if formula comes true

and in step 5, i have assigned the email template which should be sent after assignment.

The working example of above rule is shown in below screen shot:

Assignment rule of salesforce in action

Assignment rule of salesforce in action

As you can see in above figure, Case created by JZaa is automatically assigned to the “Jitendra Yah00″ and those our assignment rule is working as expected.

Note : If there is no assignment rule then case is assigned to Creator itself.

Possibly Related posts:

  1. Create a custom Web service in Salesforce and consume it in C#.Net application
  2. Deep dive into Junction object – Create many to many relationship in Salesforce
  3. How to create S-Control in Salesforce
  4. Salesforce Tutorial – Create Simple Ajax based Visualforce page
  5. Step by Step Salesforce Tutorial – Creating Tab and Validation Rule – 3 of 6
You can leave a response, or trackback from your own site.
  • Durga Prasad

    Hi jitendhra,

    I have created the assignment rule as u mentioned, I have given assignment rule name, user and email template. After creating as case owner is assigned to the user which is provided in assignment rule, but mail is not sending to case owner. Please advise