Introduction to the Package editor

Working with Packages 10-7 An evaluate variable step can be branched based on the evaluation result. See Section 10.4, Defining the Sequence of Steps for more information on branching steps.

10.3.1.4 Adding Oracle Data Integrator Tool Steps

Oracle Data Integrator provides tools that can be used within Packages for performing simple operations. The tools are either built-in tools or Open Tools that enable the user to enrich the data integrator toolbox. To insert an Oracle Data Integrator Tool step:

1. Open the Package editor and go to the Diagram tab.

2. From the Package Toolbox, select the tool that you want to use. Note that Open

tools appear in the Plugins group. 3. Click in the Package diagram. A step corresponding to your tool appears.

4. In the General tab of the properties panel, fill in the Step Name field.

5. Set the values for the parameters of the tool. The parameters descriptions appear

when you select one, and are detailed in Appendix A, Oracle Data Integrator Tools Reference .

6. You can edit the code of this tool call in the Command tab.

7. From the File menu, click Save.

The following tools are frequently used in Oracle Data Integrator Package: ■ OdiStartScen : starts an Oracle Data Integrator scenario synchronously or asynchronously. To create an OdiStartScen step, you can directly drag and drop the scenario from the Designer Navigator into the diagram. ■ OdiInvokeWebService : invokes a web service and saves the response in an XML file. ■ OS Command : calls an Operating System command. Using an operating system command may make your Package platform-dependant. The Oracle Data Integrator tools are listed in Appendix A, Oracle Data Integrator Tools Reference .

10.3.1.5 Model, Sub-Models and Datastore Related Steps

You can perform journalizing, static check or reverse-engineering operations on models, sub-models, and datastores. The process for creating these steps are described in the following sections.

10.3.1.6 Checking a Model, Sub-Model or Datastore

To insert a check step in a Package: Note: When setting the parameters of a tool via the steps properties panel, graphical helpers allow value selection in a user-friendly manner. For example, if a parameter requires a project identifier, the graphical interface will redesign it and display a list of project names for selection. By switching to the Command tab, you can review the raw command and see the identifier. 10-8 Oracle Fusion Middleware Developers Guide for Oracle Data Integrator

1. Open the Package editor and go to the Diagram tab.

2. In Designer Navigator, select the model, sub-model or datastore to check from the Models tree. 3. Drag and drop this model, sub-model or datastore into the diagram.

4. In the General tab or the properties panel, fill in the Step Name field. Select

Model, Datastore or Sub-Model Check in the step type.

5. Select Delete Error from the Checked Tables if you want this static check to

remove erroneous rows from the tables checked in this process.

6. From the File menu, click Save.

10.3.1.7 Journalizing a Model or a Datastore

To insert a journalizing step:

1. Open the Package editor and go to the Diagram tab.

2. In Designer Navigator, select the model or datastore to check from the Models

tree. 3. Drag and drop this model or datastore into the diagram.

4. In the General tab or the properties panel, fill in the Step Name field. Select

Journalizing Model or Journalizing Datastore in the step type. 5. Set the journalizing options. See Chapter 7, Working with Changed Data Capture for more information on these options.

6. From the File menu, click Save.

10.3.1.8 Reverse-Engineering a Model

To insert a reverse-engineering step:

1. Open the Package editor and go to the Diagram tab.

2. In Designer Navigator, select the model to reverse-engineer from the Models tree.

3. Drag and drop this model into the diagram.

4. In the General tab or the properties panel, fill in the Step Name field. Select

Model Reverse in the step type.

5. From the File menu, click Save.

Note: It is necessary to define the CKM in the model to perform this static check. Note: It is necessary to define the JKM in the model to perform the journalizing operations. Note: The reverse-engineering options set in the model definition are used for performing this reverse-engineering process.