You need to sign in to do that
Don't have an account?
Subhan Pothakamuri
SOQL Query to get the users who are assigned to a assignment rule
Hi All,
I have a question regarding assignment rules in salesforce. I have a set of users who are assigned to a particular assignment rule in lead object level. Is there any way to get those list of users through SOQL query.
I checked through IDE and I didn't get any direct relationship between the object.
below query which tells me about how many assignment rules we have in the system,
Select a.SystemModstamp, a.SobjectType, a.Name, a.LastModifiedDate, a.LastModifiedById, a.Id, a.CreatedDate, a.CreatedById, a.Active From AssignmentRule a
Any idea on my request question please.
I have a question regarding assignment rules in salesforce. I have a set of users who are assigned to a particular assignment rule in lead object level. Is there any way to get those list of users through SOQL query.
I checked through IDE and I didn't get any direct relationship between the object.
below query which tells me about how many assignment rules we have in the system,
Select a.SystemModstamp, a.SobjectType, a.Name, a.LastModifiedDate, a.LastModifiedById, a.Id, a.CreatedDate, a.CreatedById, a.Active From AssignmentRule a
Any idea on my request question please.
All Answers
Hello,
the information you are looking for is stored as metadata 'RuleEntry'.Cf: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_assignmentrule.htm
You will need to use Metadata / Tooling API to access this information programmatically.
have great day!
Sz