Questions tagged [assignment-rules]

The tag has no usage guidance, but it has a tag wiki.

Filter by
Sorted by
Tagged with
3
votes
1answer
50 views

DmlOptions.AssignmentRuleHeader not working

what I need to do is trigger assignment rule for Cases created from Action on Opportunity Layout. Since it is custom action there is no "Assign with active case assignment rule button available&...
0
votes
1answer
23 views

How to test a batch that executes based on CaseHistory records? [duplicate]

I have written a batch class that updates a field on Case object with the owner name which is assigned by Case assignment rule. When I try to test this batch class, a part of the code which runs after ...
0
votes
0answers
9 views

Flow builder : Multichoice Picklist assignment not working

I'm trying to update a Contact record following a case creation. The idea is to update the contact record multichoice picklist "Mailing list" with the aircraft model related to the created ...
0
votes
1answer
18 views

How can I create assignment rule on Account, Contact and opportunities objects?

I want to create assignment rule on standard objects (Account/contact/opportunity) I couldn't find, is it not possible to create assignment rule on Account/contact/opportunity objects ? My Scenario - ...
0
votes
1answer
24 views

Skip case assignment rule- Email to Case

I have cases created through email to case and assigned using active assignment rule. In some criteria , I need to assign the case to the specific owner and want to skip the assignment rule in those ...
0
votes
1answer
45 views

Assign Leads to users with custom logic

I need to assign leads to users with a custom logic. So I would like to change the OwnerId to a new one selected during apex trigger call. I saw that it was not possible to change fields on Lead with ...
0
votes
0answers
40 views

Salesforce Error: One or more profiles that you added has reached the maximum number of allowed apps

I'm receiving the following error when trying to add a profile to a profile to Selected Profiles for a Lightning App via Lightning App Manager: "One or more profiles that you added has reached the ...
0
votes
1answer
13 views

Prevent assignment rule from running again when queue member works on it

I have implemented an assignment rule. It is important for this assignment rule to run when a case is created. For this, I have enabled the assignment rule checkbox from page layout properties. Now, ...
0
votes
0answers
12 views

Copy (CC) an email when running lead assignment rules in apex trigger

I am running lead assignment rules within an apex trigger. It is currently triggering an email notification to the newly assigned lead owner as expected. Is there a way to copy (CC) an additional ...
0
votes
2answers
27 views

Simple Lead Assignment Causing Trigger to Fire 4 Times

I've seen my share of recursion issues, but this one is strange. I have fairly simple code triggering lead assignment rules to run when a field (New_Company_HQ_State__c) is changed on a lead. The ...
0
votes
0answers
14 views

Case re-opening and Assigning it to a queue

I have an issue with case assignment. So I created a workflow rule that reopens closed cases when a customer responds to a closed case. And another rule that reassigns the re-opened cases back to the ...
0
votes
0answers
32 views

Invoke Lead Assignment Rule from Button

So we have decided to assign all leads that we obtain via Pardot forms to first be assigned to a queue, so our people can qualify these leads first. Once qualified we want to be able to assign these ...
1
vote
1answer
25 views

Is there any locking of cases or delay in CRUD operations after updating case assignment rules?

If I update case assignment rules are there any locking or differences such as query delays that I should consider? The documentation does not specifically list update assignment rule considerations ...
0
votes
0answers
30 views

Case Assignment Rule Not firing

Another tedious question I fear! My case assignment rule has the following rules: High Priority Queue: (Case Origin = Facebook) OR (case origin = Twitter) High Priority Queue: (Case Subject ...
1
vote
2answers
155 views

Case assignment rule does not fire from Community page using global action

We have a contact support form in customer community using a global action for Case Creation, I can not see the "run assignment rule" option in global action layout like we have at normal page layouts....
0
votes
1answer
84 views

Force Lead Assignment Rules to Always Run

We are having an issue where our lead assignment rules are not being processed. I have verified that the rule is active. We have data integration services in our org that update our leads via data ...
2
votes
0answers
68 views

Assign using Active Assignment Rule being ignored with UpdateSingleSalesforceObject

The AMPscript function UpdateSingleSalesforceObject ignores Assignment Rules when Leads are created or updated. Is there any way to assign the assignment rule when a lead is updated via ...
0
votes
2answers
691 views

Case Assignment rules not working when I use “Email Message: To Address”

I am trying to route emails to specific queues based on Incoming Email ID example Email coming to abc@xyz.com routes to abc queue Email coming to def@xyz.com routes to def queue and so on When ...
0
votes
0answers
20 views

Case Assignment Rules - ends with criteria

In the context of email-to-case, Is there some way to achieve “ends with” logic in Salesforce case assignment rules? For example, if the email address ends with “.au” assign it to the Australian ...
0
votes
2answers
66 views

active assignment rule through visual force page?

can anyone help me with how to make assignment rule active through visualforce page .i have did this:- <apex:page standardcontroller="case" extensions="Caseassignment" action="{!assignmentactive}...
1
vote
0answers
26 views

How to restrict the Case or Queue so that, the Case can not be visible in each queues?

I have created multiple queues for teams. When I create a case, it is visible to each queue and members. I have also made changes in Sharing Settings for case object and made it Private. If anyone ...
1
vote
0answers
51 views

Case Assignment Rule

One Javascript button on Lead page used to create cases, when the case gets created then Assignment Rule assign that case to the queue, and the user doesn't have access to view that case hence user ...
1
vote
1answer
47 views

How Can I keep a Task from changing assignee when its parent opportunity changes owner?

Our BDRs have a workflow where they create a task on an opportunity and search from a spreadsheet an AE with whom to set up a meeting with the customer. We want to remove the need for a spreadsheet ...
2
votes
2answers
58 views

Considering the Order of Execution, Can a Manually Entered Record through the UI ever be in a Queue Before Insert?

Background: I've been building a Lead round robin system to evenly distribute work. It checks for records owned by queues, and assigns them to the next user available in each queue. I opted to do a ...
1
vote
1answer
253 views

Insert Case Apex - Disable Active Assignment Rules

I am trying to insert a case in apex and set the owner to a specific user id. However active assignment rules are rerouting the case. In apex, how would I disable the use of active assignment ...
0
votes
0answers
47 views

Test Class - SOQL in Test Returns No Results using Database.Insert(RecordList,DML), but works using Database.Insert(RecordList)?

I am creating test coverage for a new Lead Process we've built for our company. To properly test this deployment, I need a list of Leads to show as being Inserted by our Pardot API connector user, and ...
1
vote
3answers
690 views

Case assignment rules reassigning back to queue

I have a case assignment rule. The case is assigned to the queue based on that and then is subsequently routed to the queue member. But the issue occurs when the case owner clicks on the EDIT button ...
2
votes
1answer
652 views

Apex Class + Process Builder to fire assignment rules

We have a couple of actions on the Opportunity that create Cases. In order to trigger case assignment rules, I have a simple apex class that is being called by process builder. I'm very new to apex, ...
1
vote
1answer
470 views

Re-running Lead Assignment Rules

I'm trying to run lead assignment rules from an invocable method, but it doesn't seem to be actually updating the lead assignment according to the rules (or at all!) We have a process by which users ...
0
votes
1answer
1k views

Queues for Custom Objects

1) Queue for a Custom Object is already created and added with few internal users. Now, when the records of the custom object is assigned to the Queue, how the members of the queue pick up the ...
2
votes
4answers
588 views

How to change Lead owner before Process Builder sends Email

Background I am using Web-to-Lead, Lead assignment rules, Process Builder and Docomotion. All leads created via web-to-lead are assigned to Bob. Then the lead assignment rules share the leads in a ...
1
vote
1answer
52 views

What is “Field Based Page Assignment Criteria” in relation to a custom field?

I am attempting to delete a custom field from the Contact object and when I do, I get a message saying it cannot be deleted because it is referenced elsewhere on salesforce.com. The section listed is "...
0
votes
1answer
1k views

Create leads in Salesforce through REST API. How to assign assignmentruleHeader and emailHeader?

I am trying to add leads in salesforce through rest API.Code is in java. I have converted WSDL to jar files and added as reference in Eclipse which allow to access salesforce objects in java. PFB my ...
0
votes
2answers
126 views

Case assignment logic

Where can I possibly find logic which is changing the case owner to the present user to a queue? will it be in trigger or some assignment rules? I have checked with assignment rules it doesn't have ...
5
votes
2answers
822 views

Preventing Recursive Future Calls

I have a usecase where when an account is updated, an after update trigger is fired. This trigger will call a future method which will call a SOAP API to assign the relevant territory assignment rules....
0
votes
1answer
17 views

Create a Process to assign Leads to User according to Users Closed/Won Opportunities

wich one would be the best approach? was thinking to make a trigger but how can i check and count the won Opportunities for each Vendor user?
1
vote
1answer
1k views

Territory Management: run Territory Account Assignment Rules from Apex

We are using Territory Management in our org and the challenge is to trigger processing of standard account assignment rules from Apex code. Currently we are doing this manually (from Setup -> ...
1
vote
3answers
1k views

Sending Email to Queue Members On Lead Creation Without Using Assignment Rules

I have 2 Users that belong to the queue 'Sales' with the Send Email to Members checked. I have an online app that creates a new lead, and sets various lead fields, but the email is not sent to ...
0
votes
2answers
2k views

Case assignment and process builder which one get triggered first

Scenario I've custom field as picklist for differentiating case called Case Category. I've one process builder which assigns the value of Case category depending on Case Subject like if the case ...
2
votes
1answer
721 views

Case Assignment rule is not working in Custom Lightning Page

We are using custom case page in Lightning with Lightning Component. On insert on case, it is going to default case Queue. On update on case it is not going to other queue according to assignment ...
1
vote
1answer
845 views

How the record assign in queue?

Queues help your teams manage leads, cases, service contracts, and custom objects. Once records are placed in a queue manually or through an automatic case or lead assignment rule, records remain ...
1
vote
1answer
523 views

Make “assign using assignment rules” default to true on Case

When editing a case, Salesforce displays a checkbox on the bottom of the page that reads "Assign using active assignment rules" in the "optional" section, but it is unchecked by default. Can this be ...
1
vote
3answers
982 views

Lightning e.force.createRecord Issue

I have below code to create case record using e.force.createRecord. But it is not firing the assignment rule of a case. Can anyone look into this and what should i update in order to fire assignment ...
2
votes
2answers
447 views

Enforce Lead assignment Rule in web-service class

In my org we are getting receiving leads from a third party site, for which we have written a webservice class. But when a new lead is created through this webservice Lead assignement rule is not ...
0
votes
1answer
1k views

Can I trigger assignment rules when a case is updated from a lightning record page without using Apex or Process Builder?

For page layouts in Salesforce classic, I can use the checkbox 'Case Assignment Checkbox' option in the layout properties. But for lightning pages, I could not find any such option. Is it there, or ...
1
vote
2answers
1k views

Why does setting DMLOptions in the before event not work?

I need to trigger case assignment rules on update from a lightning page. I referred to this link to do that via trigger. After a little modification, I called the below method in before update event, ...
0
votes
1answer
32 views

Assign leads to Users in an Object [closed]

I want to update the lead owner as soon as the lead is created BUT the owners are inside a SEPARATE object called skills . So I want to match the Florida leads with users inside my SKILL object which ...
-2
votes
2answers
891 views

Is it possible to assign cases to Queue based on subject line, which contains the word “Theft”

Is it possible to assign cases based on subject line contains the word theft. I have tried creating an assignment rule, which is not working. Please suggest me the possible ways in configuration, if ...
0
votes
1answer
24 views

Why integration user deletes the assignee and triggers the assignment rules?

i'm connected to external system that syncs data to case object. i have an issue when sometimes the sync deletes the assignee in the case and triggers the assignment rules. i didn't succeed to ...
1
vote
0answers
22 views

Cannot assign Support cases to certain users through the Salesforce app [closed]

The Salesforce app is very useful for assigning sales cases when not in front of a computer. However, not everyone doing support is listed here which means that you can only assign to certain ...