Flow Building Live 3/12 10AM PDT

Join me and Dev Evangelist Kevin Poorman for Code Live with Salesforce Developers!codelive

There’s no registration. Just tune in https://trailhead.salesforce.com/live/ on March 12 at 10 PDT.

No, I haven’t suddenly learned to write code (but I’m working on it!) I’ll be building a Flow and Kevin will be writing the equivalent code. We plan to build a solution for nonprofit customers and will let you know when we have more details.

Notice I said “PDT”? That’s Pacific Daylight Time because we’ll be springing forward this weekend in much of the states. This is the one where we lose an hour, unfortunately.

Update N Records in Flow Without a Loop

Thanks Alex Edelstein and Narender Singh for building exciting Invokable Apex Actions that extend the use of Flow for admins!

USE CASE: The Ugly Dog Adoption Agency wants to find the 30 dogs who have been at the shelter the longest (minimum 60 days). A Flow will change the picklist “Old Timer” to “Yes” and the staff will then run a promotion for these special doggies. (Don’t worry, Jo Jo Pumpkins! You’ll be on the local news!)jo jo pumpkins

dogflowN Continue reading Update N Records in Flow Without a Loop

Delete Opportunity Contact Roles for Deceased Contacts

Cover image of fictional book
Don’t forget to handle your technical debt in the afterlife.

Question: When a contact dies, how can you use Flow to delete their Opportunity Contact Roles for open opportunities? Answer: With a Loop!

Here’s the unmanaged package.

Use common sense. Install and test thoroughly in a sandbox! You’re deleting records! I made it really quickly and did not test thoroughly!

Here are the requirements as posted by Ashlynn on the Power of Us Hub:

“I am trying to set up an autolaunched flow to remove Opportunity Contact Roles from open opportunities with deceased contacts. (For example, we are soliciting a major gift from a couple, and one of them passes away before the donation is received.) I have successfully configured a process to remove the deceased contact from acknowledgement for that gift when it comes in, but for the sake of clean data I would like to also automatically remove their OCR from the opportunity record. I am coming up with ‘unhandled faults’ and hoping since this is only my 2nd flow ever that someone will be able to see an obvious error with my configuration.

Continue reading Delete Opportunity Contact Roles for Deceased Contacts

Update 1000s of Records in Flow with Spring ’20

Dude. With the Spring ’20 release, we can now update 1000s of records at a time in Flow. The release itself doesn’t give us this power directly, but it allows developers to create invocable apex actions that can be reused for many objects.

Thanks to Alex Edelstein and UnofficalSF.com for an unmanaged package that performs this magic for us! Watch my video of how I use the “Map Collection” apex action to update the Activity Type of 5,000 records! Continue reading Update 1000s of Records in Flow with Spring ’20

I just said I don’t want any email!

UPDATE 1/13/2021: This post needs to be updated for the latest Unsubscribe Link package version.

Hip hip hurray! My unmanaged package Unsubscribe Link is now available for free on AppExchange! This package will allow your constituents to unsubscribe from all emails for your organization. Email with link to unsubscribe from all emails at the bottom.

The package includes an automatic confirmation email, but you can turn that feature off. Watch the video below and/or follow these instructions: Continue reading I just said I don’t want any email!

Flow Basics for Nonprofit Admins

Jessie speaking at Dreamforce
That’s me living my dream while the audience listens on headphones.

Learning how to build a Flow is like interacting with a volunteer who…needs some extra help. Through these videos, I explain some of the trickier flow concepts for admins: “get records” and “record variables.” I was lucky enough to give his presentation at Dreamforce 2019.

Good news: in this version I have unlimited time so I’ve shown all the steps in detail.

More good news: this presentation doesn’t actually utilize anything specific to nonprofits so it’s suitable for you Sales Cloud folks as well.

You’ll find a quick summary of the flow here.

Continue reading Flow Basics for Nonprofit Admins

We’re Speaking at Dreamforce!

Critics who viewed our sessions at Forcelandia called them “Hilarious!” “Informative!” “The best!” If you’re coming to the big event, don’t miss out!

Flow Basics for Nonprofit Admins 

Wednesday, 12pm Westin St. Francis with Salesforce.org staff Jessie Rymph

jessie headshot

Flow is a powerful automation tool that walks users through screens, updates multiple objects at once, and reaches distantly related records all with clicks-not-code. By learning Flow, nonprofits can surpass the limitations of Process Builder and harness the power of code without actually having a developer on staff. In this session, we’ll demystify record variables, “get records”, and other elements that are often unfamiliar to non-coders. Participants will walk away with an understanding of the *why* behind each step in the flow creation process!

One Process to Rule Them All

Thursday, 11:30am Moscone West with MVP Maya Peterson

maya

One process to rule them all, one process to find them, one process to bring them all and in the invocation bind them. As a best practice Salesforce now recommends restricting your org to one record-change process per object. Truly a tool of great power. In this session you’ll learn tricks to manage process criteria nodes using Custom Metadata Types, Custom Settings, and Custom Permissions. No harrowing trip to Mount Doom required.

Winter ’20 Flow Improvements & Disappointments

Oh man…so much good stuff in the new release. And a real bummer.

Add a lookup component in Flow

I’m really disappointed about this. I was confusing “lookup” with “search.” I want to search for any record I want and get a list returned. Nope. I can search using any lookup field I already have. This is good, but not quite what I was thinking.

RIP Bailey Bones, my beloved companion of 14 years.

Unsatisfying use case : A dog turned in at the animal shelter has a microchip number (text field) which I want to use to search for potentially matching dogs. I want to look up a dog in my flow then process their intake at the shelter.

  • Possible solution: I could do this if I had the microchip number in the name of animal, like Bailey 238392, and I looked it up to the animal record from say, an adoption record. It has to already be a lookup field.

Satisfying use case: Let’s say I am processing an animal record for adoption. From the animal’s record, I can lookup the Contact record of the person who is adopting the animal as part of my animal adoption flow.

Note: you can do a work around for this kind of search. Thanks Jenwlee.

Continue reading Winter ’20 Flow Improvements & Disappointments

Was it worth my time to automate that? On the AppExchange!

Thanks to everyone who expressed an interest in my June 5, 2019 post “Was it worth my time to automate that?” The solution is now available on the AppExchange from Salesforce Labs! Check it out!

Have you ever wondered:

  • How much time am I saving with this automation?
  • How many times has this process ever fired?
  • Was the time I spent building this thing worth the investment?
  • Are the people who requested this automation actually using it? If not, who is?

Continue reading Was it worth my time to automate that? On the AppExchange!