function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Scott BScott B 

Problem inserting cases using auto-assignment rule

Using the same logic that I use for inserting leads using the AssignmentRuleHeader, I can't get cases to use the rule.

Are there any known bugs for cases and this header?
DevAngelDevAngel

Hi ScotB,

No known issues.  I assume the case is being created by not assigned as you think it should be, rather returning some error.

I'll test and post back.

DevAngelDevAngel

Hi ScotB,

I have filed a bug for this problem and we will release a patch as soon as possible.  In the mean time, you can use the autoassignheader setting the use default to false and specifying the active assigment rule id to the active rule id.

The query to get the active (default) case assignment rule is shown below.

Select Id from AssignmentRule Where RuleType = 'caseAssignment' and active = true