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
Steve NSteve N 

Assignment rule ID

How do I query for the assignment rule id when I know the assignment rule?  I am using the SOAP 2.5 API.
DevAngelDevAngel

Hi SteveN,

What kind of assignment are we referring to here?

Steve NSteve N

We have a lead assignment rule of NYMA BOOL Leads that we want the leads coming off the sforce api to use to assign to sales reps.  My developer would like to know how he could query for the id of that assignment rule.  Apparently, you need the id of the assignment rule to set this up.

Your help is greatly appreciated. 

DevAngelDevAngel

Hi Steve N,

Right, you do need that ID.  Problem is, you have to obtain it from the address bar in the UI.  There is no programatic access to that information in the current implementaton.  To get the ID from the UI, you can select the assignment rule in setup and the id will be displayed in the address bar of your browser.

Cheers.

Steve NSteve N
Thanks Dave.  We will try that.