Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

You open the Database forwarding agent configuration dialog from a workflow configuration: you can right-click the agent icon and select Configuration..., or double-click the agent icon.

Target Tab

Database forwarding agent configuration dialog - Target tab

...

SettingDescription

UDR Type

Type of UDR to populate the target database table.

Database

Profile defining the database that the agent is supposed to connect and forward data to. The list is populated each time the configuration dialog is opened. For further information about database profile setup, see 8.6 Database Profile.

Note
titleNote!

When you change the Database profile or update the content of the database. Click the Refresh button to update the information that is displayed in the Target tab.

The Database forwarding agent does not support Fast Connection Failover (FCF) used when using an Oracle RAC enabled database for the database agent.


Use Default Database Schema

Select this check box to use the default database schema for the chosen database and user.

Note
titleNote!

This is not applicable for all database types. Use Default Database Schema is available for selection only when accessing Oracle databases.

Tables within the default schema will be listed without schema prefix. 


Access Type

Determines if the insertion of data is to be performed directly into the target table, or via a stored procedure.

  • Direct - Insertion of data is performed directly.

  • Stored Procedure - Insertion of data is performed via a stored procedure.

Table Name or SP Name

Depending on the selected Access Type, the target database table name, or the stored procedure name, is selected. The list is populated each time a new Database or Access Type is selected.

For further information and an example of a working table, see Working Table in 9.13.3.3 Tables and Stored Procedures. For further information about the stored procedure, see Database Forwarding Target Stored Procedure in 9.13.3.3 Tables and Stored Procedures.

Note
titleNote!

For Oracle the default schema is omitted; the name of a table or SP that belongs to the current database user appears without the schema prefix.


Transaction ID Column

Name of the column in the selected table, or the parameter from the selected stored procedure, which is used for the Transaction ID Column. The list is populated each time a Table Name or SP Name is selected.

The column must be of the data type number, with at least twelve digits.

Cleanup SP

If the selected Access Typeis Stored Procedure, the agent does not automatically clean up the target table, in case of a workflow abortion (Cancel Batch). If that is the case, the customer must supply a stored procedure that manages the clean up.

For further information and an example of a Cleanup Stored Procedure, see Cleanup Stored Procedure in 9.13.3.3 Tables and Stored Procedures.

SP Target Table

Name of the target table for the stored procedure. This field is only enabled if the >Access Type is Stored Procedure.

If this agent is chained with a Database collection agent in another workflow, both agents need to be aware of the mutual table. In the collection agent, a table to collect from is always selected. However, in the forwarding agent, it is possible to select the update of the table to be done via a stored procedure. If that is the case, the target table for the stored procedure must be selected here. For further information, see Pending Transaction Table in 9.1113.3.1 Inter-Workflow Communication, Using Database Agents.

Note
titleNote!

The correct name of the SP Target Table  must be selected, or else a Database collection agent will be able to collect pending data that is not supposed to be collected. This may cause data duplication.


Run SP

If enabled, this option causes a user defined stored procedure to be called when the forwarding process terminates. It will then receive the transaction ID for the forwarded rows as input.

This option is used for transaction safety when the table is read from another system, to ensure no temporary rows are read. Rows are classified as temporary until End Batch is reached. In case of a crash before End Batch is reached, the workflow needs to be restarted for the temporary rows to be expunged.

...

Note
titleNote!

specific database tables from the Platform database must never be utilized as targets for output. This may cause severe damage to the system in terms of data corruption that in turn may make the system unusable.

Assignment Tab

Database forwarding agent configuration dialog - Assignment tab

...

Note
titleNote!

When using Function as Value Type, it is not allowed to use question marks embedded in strings. will interpret a question mark as a parameter.

Advanced Tab

Database forwarding agent configuration dialog - Advanced tab

...

SettingDescription

Commit Window Size

The number of UDRs (rows) to be inserted or removed between each database commit command. This value may be used to tune the performance. If tables are small and contain no Binary Objects, the value may be set to a higher value than the default. Default is 1000. The window size can be set to any value between 1-60000, where setting 1 means that commit is performed after 1 UDR, and setting 60000 means that commit is performed after 60000 UDRs.

Rows are inserted for each UDR that is fed to the agent. All UDRs are stored in memory between each database commit command, to enable rollback. Rows are removed at the next workflow startup in case of a crash recovery.

General SQL Statement

In this area, the SQL statement that will be used to populate the database, is shown. This field may not be edited, however, it is useful for debug purposes or for pure interest.

In order for the statement to appear, the  Target and Assignment tabs have to be properly configured, or else information about the first detected missing or erroneous setting is displayed.


Scroll ignore
scroll-viewportfalse
scroll-pdftrue
scroll-officefalse
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmlfalse


Next subsection: