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

When a record has certain values or meets certain criteria

Three of the Salesforce declarative features can handle this use case:

  • Workflow rules
  • Process Builder
  • Visual Workflow
  • Apex triggers

In my opinion, I will always try to solve this requirement with workflow rules first, if it can be done within its limitations. If not, I will evaluate whether it can be done with Process Builder and use that to solve the requirement. If there is some specific requirement that cannot be done with Process Builder, I will look at Visual Workflow to solve the requirement. If none of those tools can solve the whole use case, then I will consider using Apex triggers to solve the problem, as a last resort.

For the exam, Salesforce will prefer Process Builder before workflow rules (except for sending an outbound message!). Keep that in mind when choosing your answers. Although I don't agree with that principle, since workflow rules don't count against governor limits and Process Builder does (using an SOQL query for each action that needs to be performed), you need to be aware of the fact that Salesforce actively promotes the use of Process Builder above workflow rules and the exam questions will reflect this.
主站蜘蛛池模板: 桂林市| 泉州市| 德兴市| 普定县| 德惠市| 根河市| 资中县| 永嘉县| 罗平县| 玉环县| 大英县| 五莲县| 任丘市| 龙南县| 和平县| 卢湾区| 邓州市| 长沙县| 独山县| 固原市| 昔阳县| 灯塔市| 汽车| 中方县| 农安县| 旺苍县| 合山市| 长汀县| 萍乡市| 文水县| 时尚| 和田县| 松溪县| 黄浦区| 托克托县| 囊谦县| 富宁县| 扬州市| 温泉县| 怀宁县| 巢湖市|