Activity › Forums › Salesforce® Discussions › How to call apex class in Processbuilder?
-
How to call apex class in Processbuilder?
Posted by Manish on August 13, 2020 at 1:50 PMHow to call apex class in Processbuilder?
Pooja replied 5 years, 9 months ago 4 Members · 3 Replies -
3 Replies
-
Hi Manish ,
You can refer link below :-
https://www.emizentech.com/blog/call-apex-class-from-process-builder.html - [adinserter block='9']
-
<div>We can call apex class in process builder by following these steps:</div>1. Enter a name for this action.
2. Choose an Apex class by entering the name of the class to filter results or select a class from the drop-down list.
3. If the class includes an invocable variable, you can manually enter values or reference field values from a related record.- To set values for sObject variables and sObject list values, reference an object’s related records, for example, all child contact records associated with the Account object that started the process.
- To set a value for a primitive list variable (String, Integer, Time, and so on), select the String value type and enter a value in the text input field. You can’t pass multiple values to lists.
4. Click on the Save button.
-
1.Enter a name for this action.2. Choose an Apex class by entering the name of the class to filter results or select a class from the drop-down list.3. If the class includes an invocable variable, you can manually enter values or reference field values from a related record.
- To set values for sObject variables and sObject list values, reference an object’s related records, for example, all child contact records associated with the Account object that started the process.
- To set a value for a primitive list variable (String, Integer, Time, and so on), select the String value type and enter a value in the text input field. You can’t pass multiple values to lists.
4. Click on the Save button.
Log In to reply.