OneData 10.7 | Managing Master Data with webMethods OneData | Developing for webMethods OneData | OneData Hooks | Assigning a Hook to an Object for Pre- or Post-Processing
 
Assigning a Hook to an Object for Pre- or Post-Processing
After creating a hook, you can assign it to the object definition so that it executes when the triggered. For more information about the hook invocation modes, see Hook Processing Actions.
Note:
Before you can assign a hook to an object, you must define the hook as described in Defining a Hook.
1. On the Menu toolbar, click Define > Objects and navigate to the required object.
2. Select the Hooks tab.
3. In Invocation Mode, select the hook that you want to configure under Pre-Process or Post-Process against the Change Type.
Note:
For stored procedure hooks, specify the default parameters in the text field next to the selected hook. This definition of default parameters overrides the default parameters in the hook definition.
4. Click Save.