官术网_书友最值得收藏!

Solution 2 - a combination of Visual Workflow and Process Builder

Another way to achieve the same business requirement is to use a combination of Visual Workflow and Process Builder. Here is the description of the next screenshot:

  • Section highlighted as 1: In this, a sample Flow updates all the open Opportunity stages to Closed-Lost related to an account that is marked as out of business.
  • Section highlighted as 2: This is the process on the Account object; it will always fire whenever an account record gets created or updated. 

The following screenshot represents solutions for a similar business scenario by using Visual Workflow and Process Builder:

Process Builder is one of the ways to automate complex business requirements using click not code, similar to the Workflow rule and Visual Workflow. The benefit of using this approach is that you can easily follow the Salesforce best practice to create one process per object and use Visual Workflow to manage logic for multiple business requirements. We will discuss this in Chapter 5, Developing Applications with Process Builder, and Chapter 7, Building Applications without Code.

主站蜘蛛池模板: 梁河县| 绩溪县| 淮滨县| 万山特区| 潮州市| 平果县| 太湖县| 元谋县| 博湖县| 巫山县| 肥东县| 枣强县| 林周县| 红河县| 青龙| 仁寿县| 齐齐哈尔市| 潮州市| 岑溪市| 隆安县| 河池市| 丰宁| 佛坪县| 蛟河市| 紫金县| 河南省| 陵水| 固原市| 普兰店市| 新乡市| 稷山县| 新干县| 洪江市| 永春县| 房产| 丹寨县| 西乌珠穆沁旗| 龙岩市| 弥勒县| 班玛县| 江西省|