You are here:
Create the Apex Code for the Custom Function (Managed Package)
For the managed package runtime, to implement a custom function, define an Apex class and add a method to the class that contains the function logic.
This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.
- Go to Setup.
- In the Quick Find box, enter apex.
- Click Apex Classes.
- Note the Namespace Prefix in use under the Version Settings tab (for example, vlocity_cmt).
- Click New.
- Enter the Apex code in the Apex Class tab.
- Click Save.

