Now inviting automation leaders: publish your playbook as a skill, under your own name. Publish yours →
Automation Skills
All skills/Sf flow/Governance-checklist
Reference · Sf flow

Governance-checklist

Part of Sf flow. Install the skill and your agent reads this page when it needs the depth.

<!-- Parent: sf-flow/SKILL.md -->

Flow Governance Checklist

Overview

This checklist ensures that Salesforce Flows meet enterprise governance standards for security, performance, maintainability, and compliance. Use this before deploying flows to production.

Pre-Development Phase

πŸ“‹ Requirements Review

πŸ—οΈ Architecture Planning


Development Phase

πŸ’» Technical Implementation

Naming & Organization
Performance & Bulkification
Error Handling
Security & Permissions
Reusability & Maintainability

Testing Phase

πŸ§ͺ Unit Testing

πŸ“Š Bulk Testing

πŸ”’ Security Testing

πŸ”— Integration Testing


Pre-Production Phase

πŸ“ Documentation

πŸ” Code Review

🚦 Deployment Preparation


Production Deployment

πŸš€ Deployment Day

πŸ”¦ Monitoring

πŸ› οΈ Post-Deployment


Ongoing Maintenance

πŸ“… Regular Reviews

πŸ”„ Change Management


Governance Scoring

Calculate Your Governance Score

Assign points for completed items:

Total Possible: 200 points

Governance Rating

Score Rating Description
180-200 ⭐⭐⭐⭐⭐ Excellent Enterprise-grade governance
160-179 ⭐⭐⭐⭐ Very Good Strong governance with minor gaps
140-159 ⭐⭐⭐ Good Acceptable governance, some improvements needed
120-139 ⭐⭐ Fair Significant gaps, address before production
< 120 ⭐ Poor Not ready for production deployment

Minimum for Production: 140+ (Good rating)


Exception Process

When to Request Exception

Sometimes strict governance isn't feasible. Request exception for:

Exception Request Template

Flow Name: [Name]
Exception Requested For: [Which checklist items?]
Reason: [Why can't you comply?]
Risk Assessment: [What's the risk of proceeding?]
Mitigation Plan: [How will you reduce risk?]
Timeline: [When will full compliance be achieved?]
Approver: [Who approved this exception?]

Quick Reference Guide

Priority Checks (Must-Do)

βœ… Top 5 Critical Items:

  1. No DML inside loops
  2. All DML operations have fault paths
  3. Tested with 200+ records (bulk testing)
  4. Security testing with Standard User profile
  5. Deployment plan and rollback documented

Common Pitfalls

❌ Top 5 Common Mistakes:

  1. Deploying directly to production (skip sandbox testing)
  2. Activating immediately after deployment (skip verification)
  3. No error logging (can't debug production issues)
  4. Not testing bulk scenarios (fails with >200 records)
  5. Ignoring security implications (system mode without review)

Resources

Tools

Documentation

Salesforce Resources


Version History

Version Date Changes
1.0 2024-11-30 Initial governance checklist

Support

Questions about this checklist?

  1. Review related documentation above
  2. Consult with Salesforce architect or admin
  3. Request architecture review for complex flows

Remember: Governance isn't gatekeepingβ€”it's protecting your org from technical debt, security issues, and poor user experiences. Take the time to do it right! πŸ›‘οΈ

Publish your skill

Copy this prompt into Claude Code, Codex or any agent. It walks you through your first skill in about 20 minutes, with you as the author.

Click to copy.