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

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.

主站蜘蛛池模板: 饶河县| 英吉沙县| 扶余县| 新安县| 旺苍县| 洪泽县| 司法| 尼勒克县| 翼城县| 石林| 上思县| 秭归县| 普兰店市| 海原县| 云龙县| 古浪县| 中宁县| 水富县| 松阳县| 天祝| 高淳县| 当雄县| 富源县| 天柱县| 宣威市| 松原市| 安远县| 瑞昌市| 莱州市| 木里| 东莞市| 清丰县| 辽中县| 惠东县| 武功县| 忻城县| 焉耆| 仁怀市| 克拉玛依市| 竹山县| 宣武区|