+ Start a Discussion
Karthikeyan ChandranKarthikeyan Chandran 

Need help on a trigger.

Hi Team,

I need to update a custom field in case object whenever the case owner changed from a user to queue.

Can anyone help me to fix this with a trigger ASAP?

Thanks,
Karthikeyan
Lokesh KumarLokesh Kumar
if this is a new Requirement please use the Process Builder by checking the Owner.Type. and in action do an update.
Lokesh
Karthikeyan ChandranKarthikeyan Chandran
Thanks @Hemant, @Lokesh
HARSHIL U PARIKHHARSHIL U PARIKH
+1 Lokesh

I would go with the process builder as well.

What do you need to update in custom field? Is it a checkbox which says that case owner is change from a person to Queue. ?
Karthikeyan ChandranKarthikeyan Chandran
Thanks for the suggestion @Govind