Configuring Triggers
This option allows you to view determination details such as: • Name: this field displays the determination name. • Description: this field displays a short description about the purpose of the determination. • Implementation Class: this field displays the implementation class name of a determination. Implementation class contains the business logic of the determination. To create a new Implementation class, enter a class name and choose New. To use an existing Implementation class, choose Browse. • Category: this field displays the determination category. The determination category enables the Business Object Processing Framework to check the trigger condition of the determination at different points during the current transaction. For information about each category, see Adding Determinations. You can also use this page for: • Creating a trigger • Deleting a trigger • filtering triggers • sorting triggers according to: o Node o Association NOTE Click the respective column to enter the trigger details and to choose a trigger condition.
Context
You have to configure triggers to assist the framework in executing a determination. Trigger configuration involves identifying the target node and establishing an association between the trigger node and determination node.
Prerequisites- You have added a determination to a node.
- You have created an association between the trigger node and the determination node if both these nodes are different.
Procedure
- Select a node.
- Press Ctrl + click to open the node Overview page.
- Choose Determinations page.
- Choose a determination.
- Press Ctrl + click to open the determination Overview page.
- In the Triggers section, choose New.
- In the Node column, choose
(Browse). - In the Node Selection wizard, choose the trigger node.
- Choose Finish.
- If the trigger node and the determination node are different, choose
(Browse) in the Association column else leave this column empty.
- In the Association Selection wizard, choose an association.
- Choose any or all of the required trigger conditions.
- Create: If this condition is enabled, the framework calls a determination whenever a node instance is created.
- Update: If this condition is enabled, the framework calls a determination whenever a node instance is updated.
- Delete: If this condition is enabled, the framework calls a determination whenever a node instance is deleted.
- Load: If this condition is enabled, the framework calls a determination whenever a node instance is loaded.
- Determine: If this condition is enabled, the framework calls a determination whenever a node instance is determined.
- Save the trigger configuration.