Deprecated: Optional parameter $list declared before required parameter $is_script is implicitly treated as a required parameter in /home1/oijoiv2f/public_html/wp-content/plugins/apus-framework/libs/redux/ReduxCore/inc/class.redux_cdn.php on line 21

Deprecated: Optional parameter $register declared before required parameter $footer_or_media is implicitly treated as a required parameter in /home1/oijoiv2f/public_html/wp-content/plugins/apus-framework/libs/redux/ReduxCore/inc/class.redux_cdn.php on line 45

Deprecated: Optional parameter $register declared before required parameter $footer_or_media is implicitly treated as a required parameter in /home1/oijoiv2f/public_html/wp-content/plugins/apus-framework/libs/redux/ReduxCore/inc/class.redux_cdn.php on line 104

Deprecated: Optional parameter $expire declared before required parameter $path is implicitly treated as a required parameter in /home1/oijoiv2f/public_html/wp-content/plugins/apus-framework/libs/redux/ReduxCore/inc/class.redux_functions.php on line 54

Deprecated: Optional parameter $depth declared before required parameter $output is implicitly treated as a required parameter in /home1/oijoiv2f/public_html/wp-content/themes/entaro/inc/classes/megamenu.php on line 155

Deprecated: Optional parameter $depth declared before required parameter $output is implicitly treated as a required parameter in /home1/oijoiv2f/public_html/wp-content/themes/entaro/inc/classes/mobilemenu.php on line 147

Deprecated: Optional parameter $args declared before required parameter $wp_customize is implicitly treated as a required parameter in /home1/oijoiv2f/public_html/wp-content/plugins/apus-framework/libs/redux/ReduxCore/inc/extensions/customizer/extension_customizer.php on line 583

Deprecated: Optional parameter $args declared before required parameter $wp_customize is implicitly treated as a required parameter in /home1/oijoiv2f/public_html/wp-content/plugins/apus-framework/libs/redux/ReduxCore/inc/extensions/customizer/extension_customizer.php on line 606

Deprecated: Optional parameter $field declared before required parameter $parent is implicitly treated as a required parameter in /home1/oijoiv2f/public_html/wp-content/plugins/apus-framework/libs/redux/ReduxCore/inc/fields/switch/field_switch.php on line 17

Deprecated: Optional parameter $value declared before required parameter $parent is implicitly treated as a required parameter in /home1/oijoiv2f/public_html/wp-content/plugins/apus-framework/libs/redux/ReduxCore/inc/fields/switch/field_switch.php on line 17

Deprecated: Optional parameter $field declared before required parameter $parent is implicitly treated as a required parameter in /home1/oijoiv2f/public_html/wp-content/plugins/apus-framework/libs/redux/ReduxCore/inc/fields/media/field_media.php on line 46

Deprecated: Optional parameter $value declared before required parameter $parent is implicitly treated as a required parameter in /home1/oijoiv2f/public_html/wp-content/plugins/apus-framework/libs/redux/ReduxCore/inc/fields/media/field_media.php on line 46

Deprecated: Optional parameter $field declared before required parameter $parent is implicitly treated as a required parameter in /home1/oijoiv2f/public_html/wp-content/plugins/apus-framework/libs/redux/ReduxCore/inc/fields/select/field_select.php on line 17

Deprecated: Optional parameter $value declared before required parameter $parent is implicitly treated as a required parameter in /home1/oijoiv2f/public_html/wp-content/plugins/apus-framework/libs/redux/ReduxCore/inc/fields/select/field_select.php on line 17

Deprecated: Optional parameter $field declared before required parameter $parent is implicitly treated as a required parameter in /home1/oijoiv2f/public_html/wp-content/plugins/apus-framework/libs/redux/ReduxCore/inc/fields/editor/field_editor.php on line 46

Deprecated: Optional parameter $value declared before required parameter $parent is implicitly treated as a required parameter in /home1/oijoiv2f/public_html/wp-content/plugins/apus-framework/libs/redux/ReduxCore/inc/fields/editor/field_editor.php on line 46

Deprecated: Optional parameter $field declared before required parameter $parent is implicitly treated as a required parameter in /home1/oijoiv2f/public_html/wp-content/plugins/apus-framework/libs/redux/ReduxCore/inc/fields/text/field_text.php on line 17

Deprecated: Optional parameter $value declared before required parameter $parent is implicitly treated as a required parameter in /home1/oijoiv2f/public_html/wp-content/plugins/apus-framework/libs/redux/ReduxCore/inc/fields/text/field_text.php on line 17

Deprecated: Optional parameter $field declared before required parameter $parent is implicitly treated as a required parameter in /home1/oijoiv2f/public_html/wp-content/plugins/apus-framework/libs/redux/ReduxCore/inc/fields/slider/field_slider.php on line 40

Deprecated: Optional parameter $value declared before required parameter $parent is implicitly treated as a required parameter in /home1/oijoiv2f/public_html/wp-content/plugins/apus-framework/libs/redux/ReduxCore/inc/fields/slider/field_slider.php on line 40

Deprecated: Optional parameter $field declared before required parameter $parent is implicitly treated as a required parameter in /home1/oijoiv2f/public_html/wp-content/plugins/apus-framework/libs/redux/ReduxCore/inc/fields/radio/field_radio.php on line 17

Deprecated: Optional parameter $value declared before required parameter $parent is implicitly treated as a required parameter in /home1/oijoiv2f/public_html/wp-content/plugins/apus-framework/libs/redux/ReduxCore/inc/fields/radio/field_radio.php on line 17

Deprecated: Optional parameter $field declared before required parameter $parent is implicitly treated as a required parameter in /home1/oijoiv2f/public_html/wp-content/plugins/apus-framework/libs/redux/ReduxCore/inc/fields/info/field_info.php on line 45

Deprecated: Optional parameter $value declared before required parameter $parent is implicitly treated as a required parameter in /home1/oijoiv2f/public_html/wp-content/plugins/apus-framework/libs/redux/ReduxCore/inc/fields/info/field_info.php on line 45

Deprecated: Optional parameter $field declared before required parameter $parent is implicitly treated as a required parameter in /home1/oijoiv2f/public_html/wp-content/plugins/apus-framework/libs/redux/ReduxCore/inc/fields/typography/field_typography.php on line 50

Deprecated: Optional parameter $value declared before required parameter $parent is implicitly treated as a required parameter in /home1/oijoiv2f/public_html/wp-content/plugins/apus-framework/libs/redux/ReduxCore/inc/fields/typography/field_typography.php on line 50
Quick Start Lightning Process Builder - Salesforce Next Gen
Quick Start Lightning Process Builder

Quick Start Lightning Process Builder

Create a new process that updates Contact records whenever the Account billing address changes.

You first create a process and then select the object on which the process runs.

To Create a process  do the following steps.

  1. Click the Gear icon to access Setup in Lightning Experience and select Setup. This launches Setup in a new tab.
Gar Icon
  1. From Setup, enter Builder in the Quick Find box, and select Process Builder.
  1. Click New.
  1. For Process Name, type Contact address change.
  2. For The process starts when, select A record changes, and click Save.
  1. Click + Add Object.
  2. In the right window, select Account from the Object drop-down list.
  3. For Start the process select when a record is created or edited.
  4. Click Save.

Add Process Criteria

Create Criteria

You now define the criteria that determine when this process runs.

  1. Click Add Criteria.
  2. For Criteria Name, type Address Change.
  3. For Criteria for Executing Actions, keep it set to Conditions are met.
  4. For Set Filter Conditions, click Find a field…, select Billing Street and click Choose.
  1. Set Operator to Is Changed, and set Value to True.
  1. For Conditions, keep it set to All of the conditions are met (AND).
  2. Click Save.

Add Your Process Action

Create an Action

At this point you’ve defined a process, and told it when to fire, but you haven’t told it what to do. In this step you define what happens when the Billing Street changes.

  1. Under the Immediate Actions box, click + Add Action.
  2. In the Action Type drop-down list, select Update Records.
  3. For Action Name, type Update Contact Addresses.
  4. For Record Type, click the radio button next to Select a record related to the Account, then scroll down and select Contacts, and click Choose. This is pretty powerful stuff, so pause and take note. Process Builder allows you to choose not just fields on Accounts, but fields that are related to Accounts.
  1. For Criteria for Updating Records, keep it set at No criteria—just update the records!
  2. Under Set new field values for the records you update, click Find a field…, and then scroll down and select Mailing Street.
  3. Select Field Reference for the Type.
  1. For Value, select Billing Street as the Account field and click Choose.
  2. Click Save.
  1. Click Activate and then click Confirm.

Test Your Process

Check the Process

If everything works correctly, whenever an account has a change of address, the address change is made for everyone who works for that company. Let’s test that.

  1. Click the App Launcher icon to open the App Launcher. Select Contacts.
  1. Click Recently Viewed and select the All Contacts list, then click Tim Barr.
  2. On Tim Barr’s contact record, click Details.
  3. On Tim Barr’s detail page, note the mailing address [1] and account name [2].
  4. Click the account name, Grand Hotels & Resorts Ltd. This opens the account for Grand Hotels & Resorts Ltd.
  5. On the Grand Hotels & Resorts Ltd. account record, click Details.
  6. Click Edit.
  7. Change the billing street address and click Save.
  1. Click Related.
  2. Scroll down to Contacts and click Tim Barr. Click Details. On his detail page, notice that his mailing address has been updated.

For More Examples refer : Automate you Business Process

Sumit Datta

Sumit Datta

I am a 5x Certified Salesforce developer with overall 7 years of IT experience and 5 years of Implementation experience in Salesforce. I am here to share my knowledge and help Beginners in Salesforce to understand the concepts of Apex, Visualforce, Salesforce Lightning and Salesforce Configuration.

Leave a Comment

Your email address will not be published.