+ Start a Discussion
geetforcegeetforce 

Identify "Assign using active assignment rules' checkbox value in Apex

Hi, On Case creation page, we have on checkbox (at bottom) called 'Assign using active assignment rules'. My requirement is, I have to perform some extra work if User select this checkbox. So is there any way in Trigger/ Apex where we can fetch the value of this checkbox. I guess we don't have any field in Case object and also tried with some code, but I am getting null value in 'opts.AssignmentRuleHeader' field. Case c = Trigger.new[0]; Database.Dmloptions opts = c.getOptions(); System.debug('!@# ' + opts); Thanks in advnace.
lopezclopezc

I have same requirements in the object Lead. 

 

DId you find the solution?