Questions tagged [case-object]

Represents a case, which is a customer issue or problem.

Filter by
Sorted by
Tagged with
0
votes
1answer
1k views

Email to case Settings - Comments REPLY-TO Address

I was testing case comments, and noticed that every time a case comment is created, the customer gets an email notification about the comment. When the customer replies to that email (comment ...
3
votes
2answers
144 views

Creating Closed Counter for Cases?

Editing a Closed Case will automatically change its status from 'Closed' to 'Pending' and then when the edits are saved, the Case is then 'Closed' again. I would like to create a Counter that counts ...
0
votes
0answers
75 views

New Case Alert triggered when existing Record edited

Anytime a Case's fields are edited, our Salesforce's instance will send out a 'New Case Alert' even though that Case is pre-existing, and a user only edited the record. We have an Email-to-Case ...
0
votes
1answer
67 views

Error in Production :CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, SendEscalationMail: execution of BeforeUpdate

I have a requirement where i need to create a VF page ,Apex controller and test class.If I run the test class on my developer console .I get no errors and the outcome of the test is 100% successfully ...
0
votes
0answers
43 views

Code Coverage is Showing as 95%…But it still throws an Error

I have a requirement where i need to create a VF page ,Apex controller and test class.But when i run the test class ,the code coverage is showing as 95% ,where one method executes and the other it ...
2
votes
2answers
37 views

Test Code Coverage is not getting displayed

Based on the requirement ,we have created a vf page ,apex and test class written.When i run the test class ,the method gets passed but it shows 0 code coverage. I shall appreciate your help. VF ...
0
votes
1answer
534 views

Error as :java.lang.IllegalArgumentException: id 5004B000000qt8r,5004B000000qt8w must be 15 characters

Can any help me out with this Error : java.lang.IllegalArgumentException: id 5004B000000qt8r,5004B000000qt8w must be 15 characters I have a custom button created as "Mass Close" button using ...
0
votes
2answers
284 views

SAVE BUTTON :Selected Cases does not get closed on Save Button ,it Closes all the cases

Can any one help me out on this? I have a created a vf page ,i have been using the standard button functionality SAVE and CANCEL .But the problem is the Save button does not work as per the ...
0
votes
1answer
990 views

Save and Cancel Button not working

Can any one help me out ? As per the requirement , i have created a vf page ,i have been using the standard button functionality SAVE and CANCEL .But the problem is the Save and Cancel button does ...
0
votes
0answers
254 views

Picklist value is not getting displayed

Can anyone help me on this? I have a requirement ,when we click on the closecase button for the closer of single case in that page,we would like to replace the piccoloist data type field as "Reason ...
0
votes
1answer
579 views

Create a Popup window giving a message as select a row

Can any one help me out? I have a requirement ,when we go for Mass closer of cases using the close button .when the user forgets to select the records,then their is a pop up window get displayed with ...
0
votes
2answers
760 views

Mass edit option ---Unable to See the Lock and Pencil Icons on the Fields

Can any help me out ? I have a requirement ,to give "Mass Edit " Option for users.I have the "Inline Edit" and "Enhanced list" checked.Basically When we have a the mouse cursor on the "case number" ...
0
votes
1answer
258 views

Override a Standard Button “Mass Close” on Case object to Redirect to a VF page

Can any one help out. I have a requirement on case object for the Mass closer of cases.Since in Mass Close page we don't have an option to replace the field or add a field.To override the standard ...
3
votes
3answers
5k views

Publisher Quick Actions not all Appearing

I am updating the Case page layout and cannot figure why some Quick Actions show up, but others do not. The top image number 1 shows which quick actions I have chosen to add to the page layout. Image ...
2
votes
1answer
355 views

Trouble in using Business hours methods to compare business hours with specific number of hours in apex trigger

I'm trying to compare number of business hours with number of hours (bh<48) I have gone through few methods and tried the below method to get number of hours(difference between startdate and ...
1
vote
1answer
35 views

case should be opened under that contact

I am a bit new in salesforce so I am sorry If the question is silly. I want to make a rule that if I have a new case opened by an address that already belongs to a contact in the system , the case ...
1
vote
1answer
165 views

How can I send a specific support ticket auto response based off of recipient email address?

I have Salesforce configured for email-to-case. We have multiple email addresses customers can send to: support@foo.com support2@foo.com support3@foo.com. I'd like to send back a unique initial case ...
2
votes
1answer
2k views

Modify Case Date/Time Opened Field on Upload

I'm trying to import some historical case data into our SalesForce account either through Bulk API or through Data Loader tool. I need to have the field "Date/Time Opened" under the new cases I am ...
5
votes
2answers
791 views

Need Help Writing Validation rule for cases

I hate having to ask but it's my first week on the job and I already feel like I'm failing...I need to create a validation rule with the following criteria and keep coming up with syntax errors. ...
1
vote
0answers
32 views

Automatically load From adress on mail, when “Answer customer” button is pressed

I have multiple mail-adresses which leads to the same queue in Service Cloud. When I answer the customer, by pressing the Feed View button "Answer Customer" I can load a specific template through apex ...
0
votes
2answers
3k views

Error when creating a new Formula field

I am trying to create a new field on "Case" but I get the following error: "You have reached the maximum number of 15 object references on Case. You must remove at least 6 relationships(s) in order to ...
0
votes
2answers
173 views

Picklist return lookup as dependent

I have a request in the case object with fields: Requestor: Lookup user Are you the user affected? Picklist (yes/no) Then if the answer is YES = a field called User affected is filled with the ...
0
votes
0answers
153 views

Not all Cases visible when accessed from Contact related list

When a contact record for 'Person A' is opened, we scroll down to 'Cases' related list and then click 'Go to List(17)' which displays 17 cases where Person A is set as Contact. However, this doesn't ...
1
vote
1answer
393 views

custom component inside form

i am try to make custom "NEW CASE" page and have problem: I'am receive this message when try to post Case: Unknown property 'CaseSSCFixComponentController.Support_Service_Contract' Part of page: <...
1
vote
1answer
91 views

Getting date in salesforce case

I am a bit new to salesforce. I have made a web to case form that I have to use on goolge sites. I have made the HTML data picklist for day, month and year. How can I get all these three in salesforce ...
0
votes
0answers
236 views

Unable to locate workflow running on Case

When I edit a Case Contact from community portal and change the value in Contact of that Case, it changes to previous entered value and is not updated. But when I check the Field history tracking of ...
0
votes
3answers
1k views

To Change Font color for standard Case fields depending on picklist value

I want to change the color of the Standard field of a Case object say CaseNumber. It is a mandatory field for the object. The criteria for this is that whenever a Case Status value is changed, that is ...
2
votes
2answers
232 views

How can we get the list of all activitites on case?

I have to get the open activities, closed activities on case objects. I am having no idea how to get started with it. Can someone guide me on that. I know that we have Activities History and Open ...
1
vote
0answers
35 views

How to import images under Solution notes in Case

We recently migrated the data from one org to another org... In the old org for some cases there were images embedded in the Solution notes section. We were able to migrate the text under the solution ...
1
vote
2answers
44 views

Is this query correct?

Case oldRequestownerid=[SELECT OwnerId FROM case WHERE OwnerId =: Trigger.oldMap.get(d.Id).OwnerId ]; This query is written ...
1
vote
1answer
773 views

email to case interchanging case emails between salesforce orgs

If I raise a case, e.g., no 12345, for a customer and then send an email from the case to the customer, the case (email-to-case) ref. is included in the subject of the email. The recipient is also a ...
0
votes
1answer
4k views

How do I set up an email notification to a User when a new case comment is added?

In our org we have a Requester field. This field is a lookup field to the User table on the Case page layout. This User needs to receive an email notification when a new comment is added to a case. I ...
3
votes
2answers
947 views

How to get the CaseID when creating a CaseComment

I have a VF page that will act as a Publisher Action on the Case Layout and will allow for the creation of a Case Comment. How can I pass in the CaseID since it is a required field on Case Comment? ...
1
vote
1answer
574 views

Is it best practice to exploit Cases object for multiple use cases beyond change mgt/defect mgt?

My org is looking to utilize the Cases object for various possible uses... such as, Internal change/defect management Internal EPMO proposals Managing certain customer processes or "tracks" My ...
2
votes
1answer
3k views

Workflow Rule on Case Comment, Fire Action on Case

I would like to fire a workflow whenever a case comment is created that emails both the case owner and a custom lookup field on the Case Object. I've created one for new Cases fine but when I fire on ...
4
votes
1answer
313 views

Delete all Case Comments

How can I delete all case comments that are in application in a quick way? Is there even a quick way?
1
vote
0answers
618 views

Can you create a Case via ExactTarget integration?

We're able to create leads, contacts and tasks without any problems from ExactTarget Landing Pages using ampscript and the Salesforce integration. I've tried creating a Case using simple code like the ...
1
vote
2answers
3k views

Create/Edit or Update a knowledge article in Salesforce using apex code

How to create a new knowledgearticle object from Apex code in salesforce? Using the insert statement with a knowledgearticle shows a DML operation INSERT not allowed on KnowledgeArticleVersion error. ...
0
votes
0answers
479 views

Email2Case attaching to the wrong account

I am having an issue with a user that is using email2case and the case created is being assigned to a particular account to which the email address is not associated (there is no contact with that ...
7
votes
1answer
3k views

Service Cloud vs. Force.com

Problem: If the only standard objects I am planning to use in an application are the following: 1. Contacts 2. Case 3. Accounts Is it worth it to pay for a service cloud license? I am sure its ...
0
votes
1answer
178 views

How to copy an attachment from an email to a case record using email service

I'm Using an Email Service to create a custom object record and a case record. The email has an CSV attachment and have to attached to the case record.
-1
votes
1answer
460 views

get the last completed task date in case

i am new in salesforce development. we have a change request for my company implementation. in Case object, i need 1 custom field to save the last 'completed' task date. from that custom field, i ...
1
vote
2answers
2k views

Trigger Hel(p) Code Coverage 0%

As a followup to my previous posts (Again, many many thanks) I am still having trouble with the trigger. The code seems to function and I created a test class and the code itself is 100% covered. ...
2
votes
2answers
970 views

Help with Triggers / Classes for Case Creation Part II — Test classes

Thank you for all the help on my other question. I was so happy to see a community that doesn't have trolls. So the good news is that the code compiles with no errors. The bad news is that I have ...
2
votes
1answer
1k views

Help with Triggers / Classes for Case Creation based on Field Change in Customer_Asset

I am new to Salesforce and haven't coded in quite awhile, so please forgive my rookie mistake(s). I am attempting to write a trigger to do the following: Our company manufactures equipment that ...
0
votes
0answers
85 views

Custom Link URL: Cross-site Scripting Possible cross site scripting attempt detected.

I have a custom link on Case which is a URL, here is the shortened version: /500/e?retURL=%2F{!Case.Id}&cas15=Originating%20Service%20Request:%20{!Case.CaseNumber}%0D%0D{!Case.Description} It ...
2
votes
2answers
2k views

When adding fields via lookup to a custom report type why dont i get custom user fields as option on the Owner field?

When adding fields via lookup to a custom report type why don't i get custom user fields in the option on the Owner field? All custom fields are available for the Last Modified By and Created By ...
2
votes
2answers
1k views

Apex - Calling Class Fails After Altering PUBLIC statement in Class

(thanks to @JCD for helping me clean up my Class for Trigger.old vs .new checking...) My call to the class/function below now fails. I presume that now that my PUBLIC statement is looking for two ...
3
votes
2answers
4k views

Case escalation - does the IsEscalated field ever go back to false?

We have some escalation rules setup and also field tracking on the Escalated field. But though a case is updated to not meet escalation criteria after the first level of escalation, I've never seen ...
0
votes
1answer
14k views

Apex - Checking Trigger.OLD versus Trigger.NEW

(thanks to @JesseAltman for help with the initial code) I am trying to make sure this fires once each time the IF comes true (checking if the field was previously something different). I am doing ...