Validating Flow Input : An Ounce of Prevention


Salesforce Dude

Last time we talked about handling those pesky “Unhandled Fault” errors in Flow. After you’ve been tracking your errors for awhile you’ll start to notice a pattern. Most of your errors will be from either Bad Data or Permissions issues. We’ll talk about permission issues another time, but for now lets focus on preventing those data issues.

If we’re creating flows with user input, we have to help our users enter the data correctly. There’s nothing worse than having your beautifully crafted flow come crashing down because your user put 11 characters into a text box when the field can only hold 10 characters. So how do we keep this from happening? Input validation to the rescue!

View original post 861 more words