+ Start a Discussion
RoyGiladRoyGilad 

Deploy lead Assignment rules

Hi All,

Does anyone know how can I deploy from Sandbox to production?

I searched Change-Sets and tried to use Eclipse and even the meta-data API but could not deploy it to production.

Does any one know how to deploy assignment rule?

 

Thank you for your help,

Best Answer chosen by Admin (Salesforce Developers) 
RoyGiladRoyGilad
Than you all for your replies, in the end I'm using the solution provided by eto:

http://boards.developerforce.com/t5/General-Development/Deploy-lead-Assignment-rules/m-p/608909/thread-id/92758#M93490

I have an Admin that is in charge of Assignment rules and the ANT solution must be done by a developer which caused a dependency.

All Answers

RoyGiladRoyGilad


Hi

I found this:

https://success.salesforce.com/ideaView?id=08730000000KktmAAC



This answer, from Salesforce Product Manager, in other words states: "Salesforce does not support Assignment rules, use workflows".



I find it hard to believe that this is the answer of Salesforce PM, plus the idea is mark as "Existing Feature" which is misleading to believe that there is a solution in the platform.





How can one deploy Assignment rules to production?

RoyGiladRoyGilad
Hi,
In Meta-data API v. 27 Salesforce added support to Assignment rules, meaning it can be extracted and uploaded using Dataloader or Eclipse with version 27 or up.
RoyGiladRoyGilad
Well...
The extract of the lead Assignment rules using dataloader provided just the name and the ID of the rules.
Still without a solution...
:(
Prafull G.Prafull G.
Did you tried to extract the assignment rules using Eclipse/Force.com IDE 27.0?

Extracting metadata using force.com ide/eclipse will give you complete set of information i.e. Criteria, Order etc. From here onwards, you can deploy the same to Production.

Thanks,
Prafull
sandeep@Salesforcesandeep@Salesforce

No we can not deploy assignment trough changse set. We can deploy it using ANT migration tool. so you need to first include in package.xml and then we can migrate.

sandeep@Salesforcesandeep@Salesforce

Here is link for list of component available in change set for migration.

 

https://login.salesforce.com/help/doc/en/changesets_about_components.htm

RoyGiladRoyGilad
Than you all for your replies, in the end I'm using the solution provided by eto:

http://boards.developerforce.com/t5/General-Development/Deploy-lead-Assignment-rules/m-p/608909/thread-id/92758#M93490

I have an Admin that is in charge of Assignment rules and the ANT solution must be done by a developer which caused a dependency.
This was selected as the best answer