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

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.
主站蜘蛛池模板: 革吉县| 河东区| 兴安县| 兰州市| 乌审旗| 通州区| 晋城| 崇阳县| 丹东市| 四川省| 交城县| 巴塘县| 安图县| 湘乡市| 政和县| 富川| 贺州市| 和林格尔县| 平罗县| 海淀区| 龙江县| 蛟河市| 灵山县| 上思县| 河东区| 富锦市| 温泉县| 壶关县| 绿春县| 浑源县| 花莲县| 北宁市| 灵川县| 临洮县| 龙海市| 长沙县| 岫岩| 滕州市| 蒙山县| 西宁市| 云南省|