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

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.

主站蜘蛛池模板: 连云港市| 陆河县| 桃园县| 东乌珠穆沁旗| 临清市| 容城县| 峨眉山市| 揭东县| 无为县| 东乌| 汝城县| 阿拉尔市| 吉首市| 三都| 耒阳市| 顺义区| 余江县| 揭阳市| 贵阳市| 阜康市| 新宾| 民勤县| 碌曲县| 南华县| 乌鲁木齐县| 武义县| 双牌县| 东阿县| 满洲里市| 方正县| 泰来县| 滦南县| 通江县| 龙山县| 富阳市| 高阳县| 阿瓦提县| 白河县| 堆龙德庆县| 永福县| 交城县|