webMethods, OneData, and Terracotta  10.2 | Managing Master Data with webMethods OneData | Developing for webMethods OneData | OneData Hooks | How are hooks used in OneData? | Hook Invocation Modes and Triggering Events | Hook Processing Actions
 
Hook Processing Actions
You can invoke hooks during different points of data manipulation to perform necessary processing:
*Pre-processing. Validate data before adding it to the repository. Pre-process hooks call an external program to verify data consistency and to apply business rules. Data management cannot be performed with pre-processing hooks.
*Post-processing. Perform actions on the data that has been written to the repository. After data is written to the repository, the post-processing hook calls an external program to run subsequent event processing in a different repository.
*User interaction trigger. Hooks that are triggered from a Data Manager or Workflow Details screen when a specific event occurs.
The following table shows the data manager actions and the type of processing available.
Note: You cannot use hooks to delete data in objects that have multi-select columns.
Data Manager Actions
Pre-process
Insert
No
Update
No
Data Manager Actions
Pre-process
Post-Process
User Interaction
Insert
No
Yes
Yes
Update
No
Yes
Yes
Delete
No
No
Yes
Restore
No
No
Yes
Purge
No
No
Yes
The following diagram shows the different ways that hooks can be invoked.

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