+ Start a Discussion

Error using AssignmentRuleHeader in Apex Class

Im tring to create a case in an apex class. I want to force the case assignment rules to work.
So tried using AssignmentRuleHeader which can be used to for this prupose,but getting an error saying invalid type.
Is it possible to force assignment rules to trigger in apex code.
Can any one please suggest me any work around or alternative for this.
Any pointers will be of great help.
Thanks in advance.
I have the same problem: When create a Case object in Apex code (in a trigger or a class), how do I make sure the Assignment Rules run?

Surely someone knows this? :)