Skip to main content
グループ

Salesforce Best Practices

A place for everyone to share, collaborate on, and get best practices for everything Salesforce. Naming fields, creating workflows, building page layouts, using record types, managing data, mapping leads, configuring campaigns, etc. What ever it may be, if there is a "best" way of doing something, ask about it, share it or find it here!

@* Salesforce Administrators * @Salesforce Best Practices Does anyone want to share their criteria and reasoning on what Salesforce changes can bypass the Production Release Managment cycle. These are items you put directly into Production without having to put it in Dev, QA sandboxes first. For us, we are pretty strict with this however we struggle to define that fine line of what needs to be in a Sandbox first. For instance, we can assign existing permission sets to users. You can even include items you "Fast Track" across all your sandboxes and into Production without a formal QA process, because they really don't warrant one. Thanks in advance as always i appreciate all responses and perspectives. Thank you!

5 件のコメント
  1. 2019年3月18日 3:26

    I understand the desire to formalize this. However, it is tricky to give concrete guidelines that are safe. The reason is that there are so many factors to consider. The whole point of sandboxes is to provide a chance to test things to identify and correct regression before it appears in production.

    Here are some principles.

    1. don't break things that can cause harm

    2. Use sandboxes and testing for things where the risk is moderate or high so we can be sure not to break things that can cause harm.

    But that is so vague, right? So lets' drill down.

    Some risk is present if you change something on which other things depend.

    A high-risk change would be to change an object (e.g. fields, relationships). This is risky because this could be used by automation and reports, and testing all of them takes a lot of time and effort. So you hate to have it wrong in production while people discover the flaws. Better to test in a sandbox.

    This is one reason that mature change management processes have techniques and tools for identifying dependencies. This is called impact analysis. "What else could break if we mess this up?"

    In contrast, a dashboard depends on things, but rarely do things depend on a dashboard. So the risk of making a dashboard change in production is lower

    Or a new report is clearly not yet used by any dashboard, so introducing a new report and possibly a new dashboard are low-risk events. But changing existing ones is higher. And the thing about reports is that usually, the person who requested the change checks it immediately for the desired result. So you can detect and correct it quickly. This is why breaking a single report, with a small audience, is a low-risk event. It's not a no-risk event. But if it's internal, and the user checks it in prod, then what harm is there?

    So at this point you are thinking: "Great. I'll add reports and dashboards to our official list of things that are safe to change in production." But of course, you can already think of exceptions. That's why having a formal list of things to change in production may be a bad idea. The underlying principles must be understood so you can recognize when it is safe to make exceptions.

    The questions to ask are like these: "What is the risk if we break something? How likely are we to catch it right away? What are the consequences if we get it wrong?"

    Imagine you allow reports to be changed without testing. But now, imagine one of your reports is a financial report available to board members directly without management review and intervention in the distribution. Now you can see why I would hate to just have a simple list and say "Reports are safe to change in prod." even though they often are.

    I know this is not the simple list you wanted. But it shows you some of the criteria and reasoning you asked about. And now you know why it may be hard to find someone who has a dependable, proven list of what is safe to change without testing in a sandbox.

    By the way, our team agreed it would be safe to create custom objects that support report snapshots. But again, the risk is in the exceptions.

    In my opinion, the best strategy is to develop automation to make it easy to test in a sandbox and deploy to production with the proper level of testing. It might be a little testing or a lot, depending on complexity and risk. But "no testing" is usually not a wise choice.

0/9000
7 件のコメント
0/9000

Hi,

 

I'm looking for feedback on the best practices for sorting & filtering the Opportunity View at the Account Level. We are wrapping up our 2nd year on the Salesforce platform and many of our Accounts have 20+ Opportunities associated to them which has made the Opportunity View at the Account level very cluttered. I'm curious to know how those of you that have been on the platform for many years have managed the growing opportunity list on the Account page. We currently sort the view by Stage > Close Date; however, it is not necessary to show every iteration of a closed opportunity. We have discussed only displaying Open Opportunities along with Closed Opportunities from the current and previous year. Has anyone had a similar issue and if so, how did you sort & filter the Opportunity view on the Account page?

@Salesforce Best Practices

0/9000

Quick question on Omni/Live Agent Chat:

Doing some testing, I was the only user logged in as available to chat. I sent a chat through and ignored it so it got routed back to the Queue (no other users logged in). If I'm the only logged-in user and I miss a chat, does it ever get re-routed back to me?

I tried choosing a Busy status, then went back to Available, but it continued to sit in the queue. When a second chat was sent, I received the new one, and not the original one that had been queued for a while.

Is this standard? I know there will be times when only one of our users is logged in to chat, so this may occur. I wouldn't want the chat getting stuck in a queue forever if the user happens to overlook it.

Thank you!

4 件のコメント
  1. 2017年10月31日 12:13
    Sorry @Shannon Resch

    , You're right. I re-checked this in my org and a chat request seems to be re-routed when the agent changes the status but only if at least another one agent is available.

    Work item is routed to only one agent in omni-channel routing. (On the other hand, All available agent can access a chat request in skill-based routing) So, In omni-channel routing, I think the work item lose a place to go and will be lost when the agent who are only availbale rejects/changes status unavailable.

    Anyway, the description in the help is confusing...

0/9000

Is anyone aware of any workarounds to allow customers interact via chatter like forum with internal users? We have a custom domain and because of that cannot use the "Customer Invitations" feature. Just curious if anyone else came up with an alternative? Thank you in advance. 

1 件のコメント
0/9000

Request for help and insight from the community on data management best practices, particularly customer data for marketing purposes. Lots of conversation at our company right now around capturing and maintaining quality customer data and contacts to help drive the customer experience. We struggle with how to keep up and ensure what we have is current, not to mention how to promote quality input and automation versus relying solely on manual entry/updates from users. 

 

Curious how some of the best in class organizations are managing their customer data? What tools and/or data models have you found to be helpful? And who's ultimately responsible for collecting and designing protocols for maintaining? Look forward to any/all feedback. Thanks, in advance!

 @Salesforce Best Practices @Sales Operations @Data Quality @Data Governance 

4 件のコメント
  1. 2017年10月19日 10:08

    For contact, Salesforce is our master for contact.I do not know really automated way to add contact.

    What we have done is to first control duplicates. Salesforce provide a functionality to check unicity of string. It is strict and not fuzzy so that it is relatively limited.

    After that the idea is to create dashboard to check contact there are never updated, etc.

    theoretically there is 2 kinds of check:

    - format check ( e.g. is there an '@' in email, do you have weird character in names, etc.)

    - content check (e.g. is the address valid)

    I ask Salesforce, and you can add some formatting checks but no content check, but third parties can provide mail address check, etc.

    For customers (we are in a B2B business) , Salesforce is not master. We clean the data before sending them to Salesforce

0/9000

I'm a point n click admin and i'm looking for a way to schedule a nightly job that just Saves all open Opportunities each day. The reason being is we have a formula field that updates a currency field and a workflow rule that updates the currency field with the formula field but this is all dependent on the user saving the Opportunity and sometimes the formula and currency field get out of sync, hence a nightly job to trigger the save. Is this possible with Process/Flow? Any help is greatly appreciated!

10 件のコメント
0/9000

Any suggestions on how to utilize an attendee list from a conference that does not provide email addresses? We'd like to utilize the list as a marketing touch point, but without the email addresses, it might not be worth the trouble of entering.

2 件のコメント
0/9000

Any insight on why Salesforce saves the FlowInterview records? I was looking at our orgs storage and saw 1,000 "Flow Interviews"?? I understand what the API object FlowInterview is but why are these saved to our org? Which ones?

 

My real question is if anyone has seen a way to NOT save these? I have some long running Flows and bump up against error "The interview is too large to be saved" daly. Deleting doesn't work as you can't delete the current FlowInterview...which makes sense. I just don't need it to save which seems like might avoid this error??

7 件のコメント
  1. 2017年9月12日 13:45
    @Bruce Stewart

      thanks for suggestions. No there aren't any paused or waiting Flows.

    I do think that paused flows require user interaction though. User flows can have both Paused and Wait elements (capital letters) but autolaunched Flows can only have Wait based on salesforce definition of the two. A user must Pause a Flow.

0/9000

We want to restrict API Access for oauth connected apps to ones with an app policy of "Admin approved users are pre-authorized"  to stop users from logging into unvetted applications. So via the Success Community i learned about the feature you can ask Support to enable called "Limit API access to connected apps to those with the policy, "Admin approved users are pre-authorized". Doing so made all of our Connected Apps have the policy of "Admin approved users are pre-authorized" which is great because we can assign those connected apps to the right profiles. All is good...then i had a teammate who uses JitterBit Cloud Data Loader tells me he cannot log into Jitterbit in our Sandbox, Jitterbit does not show up as a connected app. thus i can't put a policy around it to grant access. Has anyone ran into this issue before? Is there are a connected app for Jitterbit? even i create one manually? what does that look like? Why does this feature block all API calls even if it's not a connected app? Thank you for any insight on this.

5 件のコメント
  1. 2017年8月30日 13:33
    interesting, never run into anything that wouldnt work w/ the use any api client permission enabled. not a TLS issue? let me know what comes of it.
0/9000