I'm trying to query an entitlement process with a specific name to dynamically assign it to an account based on certain criteria. I can't seem to get the query correct. I googled around and the object is supposed to be EntitlementProcess but it doesn't seem to work.
My query looks like this:
EntitlementProcess sla =[Select id from EntitlementProcess Where Name='SLA Tracx'];
What am I doing wrong here?