A custom method is used to call a function from a custom Java class in a package. It is declared and used globally for all destination elements.
To use a custom method in a mapping activity, you need to map it to a destination element. This will successfully execute the custom method when you execute the mapping activity in the process flow.
Prerequisites
The package containing the custom java class must be copied in the folder <InstallFolder>/ServerKernel/customClasses.
Select a destination element and click Mapping Expression tab from Mapping Functional panel.
Double-click the required custom method under Custom nodein the Parameters Panel. The selected method node is displayed in the Mapping Expression Area.
Double-click the source element to define the custom method and map it to destination element.
This maps the custom method to the target element.
Save the mapping activity and exit the Web Mapper.