Saturday 4 February 2017

In Process Builder, how can you make a process reusable and invoke it from other processes or action groups in the same process?

In Process Builder, how can you make a process reusable and invoke it from other processes or action groups in the same process?

A.  Check the Invocable Process checkbox option
B.  No configuration is required because all processes become invocable in Winter '17
C.  Reference the process from an Apex method annotated with @InvocableMethod
D.  Select "It's invoked by another process" from the "The process starts when" picklist

Answer

C.  Reference the process from an Apex method annotated with @InvocableMethod

Explanation

Now you can create a process that another process can invoke. With invocable processes, you can reuse sections of your processes. Build one invocable process, call it from multiple processes or from multiple action groups in the same process. This ability to reuse can save you precious time, and who doesn’t love that? You can invoke processes with objects that share at least one unique ID. For example, in the Account and Case objects, the AccountId field is unique to Account and also used by Case. You can create an invocable process that updates a Case record. Then you can invoke it from: • A process that updates an Account record’s owner • A process that adds an Account shipping address or updates it When you create a process that invokes another process, each one counts toward your process and other applicable limits. DML limits in processes that invoke processes count as one transaction. When you create a process, have it start when another process invokes it by selecting It’s invoked by another process.

No comments:

Post a Comment

Salesforce Certified Sharing and Visibility Designer - Spring '18 Release Exam

1 of 5. An organization uses Enterprise Territory Management to assign Accounts based on geography. In addition, Op...