Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have two case queues, one for New Cases (this is the default on the Support settings page) and one queue for the Unreferenced (cases with no account or contact). I wrote an assignment rule for the Unreferenced queue

ISNULL( AccountId ) && ISNULL( ContactId )

The Problem is that these cases are still being assigned to the New Cases queue.

Any advise?

share|improve this question
  1. What's the order of assignment rules? The first rule that "hits" is selected (like in approval processes), make sure your "Unassigned" is listed as last option.
  2. Are you ticking the checkbox "assign using active assignment rules"? It can be missing from the page layout or if you're inserting Cases via API you can specify a header / DML option.
  3. Maybe try with ISBLANK instead of ISNULL?
  4. Is there any workflow that fires after assignment rules that'd reassign it again?
share|improve this answer
Thanks for the quick reply. @1 I have only one rule with order 1. @2 Yes checkbox is ticked. @3 I tried ISBLANK with no luck. @4 No workflow on Cases – Dedo Feb 26 '13 at 14:59
Running out of ideas :/ As stupid as it sounds - how many processes do you see in Setup -> Assignment Rules and is the one you want marked as active? Can you put a debug log to verify nothing except assignment rules is touching the ownerid? You'll also see the rule evaluation results like with validation rules. Is the queue configured to accept Cases? (shouldn't be selectable in the config if it's not but I'm not sure). – eyescream Feb 26 '13 at 17:26

You shouldn't be using ISNULL, that function is deprecated and won't work as you would expect in scenarios like this. Use ISBLANK instead.

UPDATE: I just saw your comments, can you post the debug logs for this operation?

share|improve this answer
If you look at the comments of the previous answer you can see he already tried ISBLANK with no change to his results. – jonnybro Feb 27 '13 at 8:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.