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

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.

主站蜘蛛池模板: 广西| 江津市| 巴里| 泰安市| 沛县| 华池县| 醴陵市| 仲巴县| 淮北市| 谢通门县| 岑溪市| 西宁市| 双城市| 上杭县| 咸宁市| 紫金县| 佛坪县| 青龙| 高安市| 昌宁县| 塔城市| 河津市| 苍梧县| 凌云县| 襄樊市| 治县。| 新建县| 厦门市| 讷河市| 吉水县| 土默特左旗| 沂源县| 尤溪县| 西藏| 舟曲县| 金沙县| 荆门市| 桃源县| 汾西县| 韶关市| 山丹县|