Assignment Rules functionality for Custom Objects

34 views
Skip to first unread message

Prabhakar Chimakurthy

unread,
Sep 10, 2014, 12:41:38 PM9/10/14
to salesforce-p...@googlegroups.com

Hi All ,

I am looking to design Assignment Rules ability for Custom Objects(other than bunch of workflow rules and triggers) but looks like this is getting more critical and scope is getting increased.

Any ideas and any insight in your past experience that you guys can share?

--
Thanks & Regards,
Prabhakar Chimakurthy.

nagaraj ken

unread,
Sep 10, 2014, 3:11:03 PM9/10/14
to salesforce-p...@googlegroups.com
Hi Prabhabar,

What i have done in past is

1.create a custom setting , have all the columns for a particular object you are checking against and a column for queue.

2. For each each rule create a record in custom setting with values filled in and the queue or owner to be assigned.

3. In the trigger before insert or update  , check the fields from each record in trigger.new if it matches to any of the  records in custom setting ,

4 if it matches , stamp the ownerid or the queueiD on the ownerid field for that object.


let me know if you have any doubts.

Thanks,
Nagaraj.

--
You received this message because you are subscribed to the Google Groups "salesforce professionals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salesforce-profess...@googlegroups.com.
To post to this group, send email to salesforce-p...@googlegroups.com.
Visit this group at http://groups.google.com/group/salesforce-professionals.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages