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
lakshmi prasanna 84lakshmi prasanna 84 

INVALID_OPERATION, Queue not associated with this SObject type

this is because , we havenot added the Object to the Queue , go to Queues and add the custom object into the list of selected objects ,then it will workUser-added imageUser-added image
lakshmi prasanna 84lakshmi prasanna 84
I got the answer for this , go to QUEUEs
then select the perticular queue what you are dealing with , and then add the object like above it will work fine

 
Atonal WilsonAtonal Wilson
Salesforce Queues prioritize, distribute, and assign the records used by teams sharing workloads. Queues act like holding areas in your CRM, where records wait for someone to pick them up, and assign the record owner either as themselves or another user. Queues in Salesforce act like a user record; instead of a user being the record owner, the queue is the record owner while the record is pending for someone to work on it.  Apart from this if you want to learn something new then the Tableau certification course (https://www.igmguru.com/data-science-bi/tableau-training/" style="color:#0563c1; text-decoration:underline) is designed for all those readers who want to create, read, write, and modify Business Intelligence Reports using Tableau.