You are here:
Create an Apex Class for Object State Action Definition
Create an invocable Apex class in the Developer Console for each of the object state action definitions (custom actions).
- Click the quick access menu (
), then click Developer Console. - Select .
- Enter a name and click OK.
- Paste the sample code into the dialog box.
- Save your changes.
See Also
- Sample Apex Invocation Class for Object State Action Definition
Here are some sample apex classes for creating object state action definitions. Modify the sample code to suit your requirements

