Skip to main content

Salesforce Automation - Process Builder Basics

ADVANTAGES: 
  1. Process Builder lets you automate more things.
    • Process Builder includes more flexible actions compared with the corresponding workflow actions. 
    • You can create any record instead of just tasks. 
    • The Update Records process action (which corresponds with the field update workflow action) lets you update any related record, while the field update workflow action lets you update only the record or its parent.
    • Process Builder also includes brand new actions that aren’t available in Workflow—such as Post to Chatter and Submit for Approval.
  2. Process Builder lets you control the order of your criteria.
    • In Process Builder, you determine the exact evaluation order of your process’ criteria. In turn, within a given process criteria, you determine the order of its actions. 
    • Whereas In Workflow, there’s no way for you to determine which order your workflow rules run in.
  3. Process Builder lets you access fields on every related record.
    • In Workflow, you can reference fields on the record’s parent. 
    • Process Builder, on the other hand, lets you access the fields on any related record, no matter how far away that record is.
    • You can reference fields on a parent record, grandparent record, or great-great-great-grandparent record twice removed.
  4. Process Builder is the future.
    • Salesforce is no longer enhancing Workflow. They still support your use of workflow rules, and will continue to do so. 
    • But all new functionality for the workflow use case will come through Process Builder. 
    • If you want to use the shiny new functionality, migrate your automation to Process Builder.
  5. You can assign task to Queue using Process Builder.
How to Create Process Builder:
  • Click Gear icon to access Setup in Lightning Experience and select Setup. This launches Setup in a new tab.
  • From Setup, enter Builder in the Quick Find box, and select Process Builder.
  • Click New.
  • For Process Name, type Contact address change.
  • For The process starts when, select A record changes, and click Save.
  • Click + Add Object.
  • In the right window, select Account(You can Select any object) from the Object drop-down list.
  • For Start the process select when a record is created or edited.
  • Click Save.
Add Criteria
  • Click Add Criteria.
  • For Criteria Name, type "Give a Proper Name".
  • For Criteria for Executing Actions, keep it set to Conditions are met.
  • For Set Filter Conditions, click Find a field..., select "Desire Filed" and click Choose, Set relavent Operator, and set to desire Value.(For Each condition do this step again and again)
  • For Conditions, keep it set to All of the conditions are met (AND).
  • Click Save.
Add Action 
  • Under the Immediate Actions box, click + Add Action.
  • In the Action Type drop-down list, select Update Records(Any Desire Action).
  • For Action Name give a Name to it.
  • For Record Type, click the radio button next to Select a record related to the Selected Object, then scroll down and select any realted object, and click Choose. This is pretty powerful stuff, so pause and take note. Example Process Builder allows you to choose not just fields on Accounts, but fields that are related to Accounts.
  • For Criteria for Updating Records, keep it set at No criteria—just update the records!.
  • Under Set new field values for the records you update, click Find a field..., and then scroll down and select filds.
  • Select Field Reference for the Type(Or anything you want from drop down).
  • For Value, select realted Field say as the Account field and click Choose.
  • Click Save.
  • Click Activate and then click Confirm.
Samples Process Builder

Assign Task/Event (New feature of 2020)
  • Assign Task/Event to Queue will be done by using a Custom Label
  • Custom Label will have id of Queue in value
  • Use formula for "Assign To" field and Assign Custom Label From Formula Editor.
Happy Learning...Subscribe for more updates

Comments

  1. Awesome Man, keep up the good work.Those who face problem while adding permission sets to the permission set group , please switch to lightning and do so.

    ReplyDelete

Post a Comment

Popular posts from this blog

Maintain Your Administrator Certification for Spring ’24

Maintain Your Administrator Certification for Spring ’24 Intelligence Views Intelligence views are now available for leads, contacts, and accounts in Sales Cloud. Turn on a view in Setup and then add the Intelligence View button to the view-button layout for the applicable page. New Salesforce organizations include the views by default, but admins for existing orgs can enable: Lead Intelligence View Contact Intelligence View Account Intelligence View Find specifics about these views in the next three topics. Turn on Contact Intelligence View in Contact Intelligence View Setup and add the Intelligence View button to the Contact List View button layout. To view engagement metrics, enable Email Tracking in the Inbox section of Sales Engagement Setup. To see the Intelligence View, users go to the Contact home page and click Intelligence View. To view engagement metrics, choose Engagement Metrics from the Metrics menu. To see the Account Intelligence view, go to the account home page and cl

Administrator Certification Maintenance (Spring '23)

 Maintain Your Administrator Certification for Spring '23 1. What information is listed in the Details panel for recently used reports? Answer: A, B, C 2. What is used to give sales reps access to a guided process to import contacts and leads? Answer:  Sample CSV file 3. Which feature efficiently removes inactive picklist values? Answer: Bulk Delete Unused Values 4. Which type of Process Builder processes can be converted using the Migrate to Flow tool? Answer: Record-triggered Get Hands-on with Enhance Record Pages With Dynamic Forms Follow steps show in Screenshot also highlighted with Red Box:

Platform App Builder Certification Maintenance (Winter '24)

 Maintain Your Platform App Builder Certification for Winter ’24 The Enable Reactive Components for Screen Flows running API Version 57.0 and 58.0 setting expires in Winter ’25. Before that release, upgrade your flows to run on API version 59.0 or later to take advantage of reactive components. Build Screen Flows with Reactive Global Variables Save time by referencing global variables in reactive formulas on flow screens. Use custom labels in reactive formulas to display translatable text to your users. For example, create a custom setting called DiscountPercentage, which specifies org, profile, and user discount percentages. Reference the variable in reactive formulas across a screen flow. The screen flow applies the correct discount value for the user running the flow and recalculates the value as the user makes changes.   Build Screen Flows with Reactive Selections Use choice components to respond to user selections elsewhere on the same screen. For example, on a flow screen used fo

Translate