Ask Search:
Megan LearyMegan Leary 
I have a Milestone that once violated has a Field Update, which will check a box ("CreateChatterNotification__c"). This is working.

I have a Process Builder that once the above checkbox is checked, a Chatter notification is created. This is working independently of the Milestone.

However, the Milestone violation checking the checkbox, does NOT trigger the Process Builder. 
I do have "Re-evaluate Workflow Rules after Field Change" on the Field Update. I also have tested both having "Recursion" checked and unchecked on the Process Builder. 

Since Milestone Actions can't create chatter notificaitons, I thought this would be a good workaround.  Any help is appreciated. Thanks!
Best Answer chosen by Megan Leary
Prolay ChaudhuryProlay Chaudhury
It looks like Milestone Action can't trigger Process Builder. However, you can create an Apex class to operate to trigger.
Cullen SullivanCullen Sullivan 
Hello everyone. I came across this question on a admin practice test and I am stumped. Any help is much appriciated. 

The marketing team is asked to provide branding and messaging for email templates to be used throughout the customer support process.  
In which two locations can the System Administrator implement customer-facing email templates with respect to Cases?

Choose 2 answers

A. Owner Assignment Notifications
B. Case Escalation Notifications
C. Case Auto-response Rules
D. Support Rep's Send Email options

From what I've read on the docs, I know C is one option. However, A and B do not seem to be customer facing and I do not know what they mean by D. 

Thanks in advance!

Best Answer chosen by Cullen Sullivan
Carmen GrossCarmen Gross
I am not 100% sure, but I thnk the correct ansewr is: D, because I could not find doc and articles mentioning emails notifications for customers but for case owner, manager or other 5 emails adresses.

Enable Portal Reply Email Notifications in Case Feed
If your organization uses a portal or community, support agents can use the Community action in Case Feed to respond to customers. Enabling portal reply email notifications gives agents access to the Send Email option in the Community action.
Available in: Salesforce Classic (not available in all orgs)
Available in: Enterprise, Performance, Unlimited, and Developer Editions
USER PERMISSIONS NEEDEDTo change support settings:Manage Cases
Customize Application
From Setup, enter Support Settings in the Quick Find box, then select Support Settings.
Click Edit.
Select Enable Case Comment Notification to Contacts.
Select a template for email notifications.
Click Save.
Lavanya SanathkumarLavanya Sanathkumar 
Facing issue in my batch test class. I am inserting simple Account and Opportunity in my test class. 
If we set(seealldata = false) the class fails in the sandbox and getting below error 
System.DmlException: Insert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, EventbriteSync.EventbriteOpportunityTrigger: execution of AfterInsert

caused by: System.NullPointerException: Attempt to de-reference a null object

Trigger.EventbriteSync.EventbriteOpportunityTrigger: line 4, column 1: []

Facing the issue in 'Eventbrite OpportunityTrigger' which is from the managed package and we can't see the code. 

If I set (seealldata = true) in test passes in the sandbox but we will get below when moving to Production
System.UnexpectedException: No more than one executeBatch can be called from within a test method. Please make sure the iterable returned from your start method matches the batch size, resulting in one executeBatch invocation. 
Stack Trace: External entry point

There any way to fix this?
Best Answer chosen by Lavanya Sanathkumar
Parani T KParani T K
EventbriteSync.EventbriteOpportunityTrigger issue can be fixed with seeAllData true for now. Don't find any proper solution for that.

But when you make a test class seeAllData true you need to consider it will take all record in the org including your test data, if it's production takes all the production data to process in batch. So you can filter only the test data in your test run.

I need to create a report where i can see all the cases on which there is no activity performed (Case comment, case field update case task,email activity) since last 48 hours.

Basically, i want a report on the cases which are unattended since 48 hours? 

Is there an easy way to do it ? 
Best Answer chosen by EA CA ORG
Tommaso BolisTommaso Bolis
What about add a field on case with last activity date. You can mantain this field with process builder and use it to create the report you need. 
Tinashe ShokoTinashe Shoko 
When I download our enterprise wsdl for FeedItem it has the following field
<element name="CreatedBy" nillable="true" minOccurs="0" type="ens:sObject"/>
Previously this used to be 
<element name="CreatedBy" nillable="true" minOccurs="0" type="ens:Name"/>

I notice even the versions are different earlier it was 45 and now its 46. Was there a change?
Best Answer chosen by Tinashe Shoko
Tommaso BolisTommaso Bolis
Different version is related to the Salesforce major relase. With Summer '19 we reached API 46.
A new API version is released for each major release.

I think now Created By is an SObject since it represent a User instance (Same should be for record owner).
Tayler McCrackenTayler McCracken 
Hello Salesforce community, I would really appreciate if someone could help me out by showing me a formula for a validation rule that I am trying to implement in my org. If you could also please post the logical reasoning, or help explain to me  how you worked this out I would appreciate it as I am struggling to understand validation rules... I've done the trailead training and some reading, but still finding it a bit tricky. This is what I am trying to work out:
On the opportunity page if the picklist value "pillar," equals "support renewal"
then these two text fields need to be filled in:
"Estimated implementation start date"
"Estimated pre-sales days"

Any help would be greatly appreciated. Thanks guys!
Best Answer chosen by Tayler McCracken
Deepak AnandDeepak Anand
...picklist value "pillar," equals "support renewal" ??

Do you have a Picklist  Field called Pillar? I am assuming it is a typo and I guess it's Stage probably :-)

Well, if it's Stage (at least that is what is making sense to me) then here is how you work it out - 

[1]  If the picklist value in Stage equals "support renewal"
StageName = "Support Renewal"
Most of the times, we tend to write it like as shown above when you come across situations wherein it says = Field 'X'  equals a Value 'Z'. But here, Stage is a picklist field hence just that line won't suffice.

We need to write it like this = 
TEXT(StageName) = "Support Renewal"
By wrapping it with TEXT() makes it usable in comparisons/logical operators like "equals(=)" or "not equals(<>)" etc.

NOTE: It is very important to use the wording "Support Renewal" exactly as it appears on the Picklist Field (API Names) (Setup | Object Manager | Opportunity | Fields ...)

[2]: These two text fields need to be filled in:
"Estimated implementation start date"
"Estimated pre-sales days"

Now, it is important to understand that when you write Validation Rules, you need to feed in the ERROR Condition. Which in our case means, if ANY one of the fields is left EMPTY.

So you would write it as - 
Usually, you would end up using an OR when the requirement calls for BOTH fields need to be filled use cases and so on. Another thing to note is the use of ISBLANK which I assume is self-explanatory.

Now, all you have to do is to combine [1] and [2] using an AND( ... ) = 
    TEXT(StageName) = "Support Renewal",

I call this as "Divide & Rule" policy to nail your Validation Rule formulas :-)
Mehmet BirgiMehmet Birgi 
When I enter an email, I get the error message "Please select a valid contact". Which contacts are eligible here? Where can I enter new contacts? I am trying to add another user from my org.
Best Answer chosen by Mehmet Birgi
Shivanath DevinarayananShivanath Devinarayanan
Only individuals in the same account as the case owner and who have logged in to the Help site before will show up in the search box.  This is done to prevent incorrect case collaborators from accidentally being added. Should be users


if our suggestion(s) worked,  let us know by marking the answer as "Best Answer" right under the comment.This will help the rest of the community should they have a similar issue in the future.  Thank you!

I would like to add attachments to some of the step sections in the opportunity.

it should be a mandetory field as well.

Is there a way to do it?


Best Answer chosen by Marketo
Hello Marketo,

I suggest:

1. Create a Custom Object called "Opportunity Attachments" with Master-Detail Relationship to Opportunities ( Opportunity is the parent and Opportunity Attachment is the child). Allow the Notes and Attachments for the new object
User-added image
2. Click "New Relationship" and create the Master-Detail Relationship between the Opportunity and the Opportunity Attachments Object
User-added image
3. Go to the Opportunity Page Layout and Drag and Drop the Opportunity Attachments related list just under the fields (for better visibility)
User-added image

4. Create Your Opportunity Attachments Records, give them proper, recognizable name and attach the file in their notes and attachments
User-added image

The only problem with this issue is that you cannot have a separate fields under each step, but you`ll have the attachments as a related list.

Kaylin JendrewskiKaylin Jendrewski 

Previously, our profiles/permissions were set up inaccurately in Salesforce. 

I am in the process of making some new profile groups for different teams within my organization.

One of the biggest issues I have is that Reps have the ability to change ownership of leads,contacts,accounts,opps,etc. - I do not want them to have this access.

I created a new profile for the reps - and believe I have unchecked any box that would allow them to do this. 

However, I just tested this with a rep and she still has the ability to change ownership of leads, etc.


Best Answer chosen by Kaylin Jendrewski
Steve DoddSteve Dodd
Please refer to my original post and modify the syntax/error message as needed:

User-added image
Robert BaratheonRobert Baratheon 
I created a que in salesforce  is it possible to set up some filters within the que and if so how?
Best Answer chosen by Robert Baratheon
Raju KonaRaju Kona
@Eli Manning,
Answer is NO. You dont have a chance to add filters in Queue. You have a chance to add queue members and supporting objects. 

Thank you