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

Process Builder, Workflow and Flow

Salesforce provides several declarative tools to implement business processes and custom user experience flows. End user operations such as creating, updating, or starting an approval process for a record; can be customized through two tools known as Workflow and Process Builder. When you need to implement a UI flow that provides a wizard or interview style user experience, you can use the Visual Flow tool. This tool can be used to define more complex conditional business processes that need to read and update records. Automation Flows or sometimes "headless flows" are Visual Flows that do not interact with the user and can be referenced within Apex code as well as Process Builder.

Process Builder is the successor to Workflow. It provides the same functionality as it plus additional features for updating child records for example and extensibility for developers. It is also easier for end users to build and visualize more complex processes with its more modern graphical layout. Though you can use both interchangeably its best to focus on one or the other, making it easier to locate and maintain customizations.

As an application developer, these can be created and packaged as part of your application. Such components are upgradable (provided that they are marked as Protected). Typically, however, package developers tend to leave the utilization of these features to consultants and subscriber org admins in preference to Apex and/or Visualforce, where more complex logic and user experiences can be created.

Tip

Just as these tools can be used by administrators to customize their orgs. You may want to consider exposing your Apex driven application business processes through Invocable Methods, to effectively extended the functionality available to admins through these tools. Put another way this allows users of the Process Builder and Visualfow Flow tools to invoke your application functionality through clicks not code. We will be revisiting this in Chapter 10, Providing Integration and Extensibility.

主站蜘蛛池模板: 土默特左旗| 玉山县| 龙胜| 周至县| 洛浦县| 淮北市| 玉屏| 满城县| 无锡市| 湖南省| 修文县| 库尔勒市| 浦东新区| 汤原县| 阿克苏市| 道真| 交城县| 舒兰市| 会东县| 无棣县| 汾阳市| 托里县| 防城港市| 忻州市| 凤台县| 红桥区| 永泰县| 手游| 陆川县| 蓬安县| 四川省| 习水县| 金沙县| 麻阳| 长乐市| 乌恰县| 蒙自县| 巢湖市| 临颍县| 通河县| 中牟县|