Salesforce Trails and Trials: Episode 3

In this episode of Salesforce Trails and Trials, hosts Jon Cline and Erik Yewell talk about the unexpected harm caused by deactivating a user. They also get excited about community code, Slack as a culture incubator, biking, SFXD, and a hot tub in the middle of nowhere.

Jon Cline has been working in IT since 1998 and is a very curious person. Erik has been in IT for 23 years and done just about everything you can imagine. Together, they’re never bored.

Lately, Erik has learned about enterprise Apex patterns as a way for packaging code. Jon discovered SFXD, a Salesforce Discord community where a bunch of pros share their wisdom, allowing anyone to learn from their mistakes and bypass that pain (here’s a helpful bit about flow patterns).

This episode’s one small thing? Deactivating a user. Imagine someone leaves the team and a new person comes on, so you go in and deactivate the old user and create a new one. No big deal, happens all the time. People often do it without thinking, ignoring the confirmation box, but it can break dependencies and integrations the deactivated user set up. And once they’re gone, they’re gone. Even worse, without proper documentation no one will even know they were there. Things will break with no explanation. A better way to accomplish the same thing without the drastic results is to use the mass reassignment tool or freezing users.

Extras:

  • Enterprise Apex Patterns: Service Layer and Domain & Selector Layers 
  • Jon took a quick vacation and came back to see the team culture he’s worked hard to build prominently displayed in historical Slack conversations.
  • Erik dusted off his programming chops by creating a reverse logistics solution that felt a bit like a one-man band—taking existing pieces and building on top of them. 
  • New bike, new life: Erik bought his daughter a new bike and witnessed an explosion of outdoor excitement. He’s not alone as bike sales boomed during the pandemic.
  • Jon camped along Sespe Creek and discovered the Willett Hot Springs, which include a community-built hot tub in the middle of nowhere. The shared effort reminded him of the altruism and mutual support of open-source software. Here’s one of many write-ups on the trail and hot spring.