You need to sign in to do that
Don't have an account?
![Frank Jordan Frank Jordan](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
Button with class to update record owner
I have a formula field that contains a button and when the button is pressed depending on the value of another field, i would like the owner to change to a queue. I'm having trouble writing the class that goes along with this button. can anyone help? I would like it to be similar to the button below (within the field)
![User-added image](/forums/servlet/rtaImage?eid=906F0000000MLJq&feoid=Body&refid=0EMF0000000I5MV)
![User-added image](/forums/servlet/rtaImage?eid=906F0000000MLJq&feoid=Body&refid=0EMF0000000I5Ma)
Call Visual force page on click of custom button.Write a controller with constructor with the required logic.
Important :
If this is what you were looking for then please mark it as a "SOLUTION" or You can Click on the "Like" Button if this was beneficial for you.