webMethods, OneData, and Terracotta  10.2 | Managing Master Data with webMethods OneData | Developing for webMethods OneData | OneData Hooks | Defining a Hook
 
Defining a Hook
You can define any type of hook in the OneData user interface. For more information about hook classification, see Hook Invocation Modes and Triggering Events and Hook Types.
1. On the Menu toolbar, click Define > Configuration > Hooks.
2. Click Add Hook.
3. Enter the Hook Details as follows:
Hook Detail
Description
Hook Name
Name of hook.
Hook Description
Description of hook.
Hook Execution Mode
Select the OneData mode in which to execute the hook:
*Nova. Selected by default.
*Default
Hook Type
Type of hook. For information about the type of hooks, see the following:
*Stored procedure.
*Java RMI and Java Local.
*Process flow.
*Integration Server
Program Name
Name of the external program to be executed.
Default Parameters
For stored procedures only.
Is Interactive Hook?
Select to indicate that the hook is an iHook.
Hook Cardinality
Select the hook execution parameter which determines when to execute the external program:
*0. Executes when no row is changed.
*1. Executes when one row is changed.
*n. Executes when more than one row is changed.
Note: Hook cardinality does not apply to event-driven hooks.
4. Click Save.

Copyright © 2011-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release