Database integration properties
- Last UpdatedSep 06, 2023
- 4 minute read
Refer to the following tables for the key configurable properties of Database integration.
Database parameters properties
|
Property |
Description |
Valid values |
|---|---|---|
|
ConnectionString |
The parameters used to connect to the source database. Example SQL: DataSource=ServerName;InitialCatalog=DatabaseName;IntegratedSecurity=SSPI Oracle: User ID = XXX;Password = XXX; Data Source = XXX |
|
|
DatabaseType |
The type of database the workflow integration connects to. |
SQL, Oracle |
|
SelectCommand |
The command used to select records from the database. If a simple IsProcessed column is used on the table, the Select Command may look like: Select * from Example1 where IsProcessed = 0 If you use a stored procedure, a common practice is to reuse the procedure for different integrations. Doing this requires that one or more parameters are passed in to differentiate the integration. |
|
|
SelectCommandType |
The type of Select command to use. |
Text, StoredProcedure |
|
SourceDatabaseParameters |
The parameters that are used to query the source database. If you want to pass in parameters to the source database, configure this property. You can add one or more parameters and for each parameter, specify the following:
The format for the SelectCommand to use parameters is “@[name]” where name is defined previously. The format for text and stored procedure is different:
|
|
|
UpdateCommand |
The command used to update or archive records in the database. |
|
|
UpdateCommandType |
The type of Update command to use |
Text, StoredProcedure |
|
UpdateDatabaseParameters |
The parameters that are used during the update command. For more information, see Update Database parameters. |
Field mappings properties
|
Property |
Description |
Valid values |
|---|---|---|
|
FieldMappings |
The field mappings for each pair of source/destination fields. Add the field mappings using the Mapping Collection Editor. Click Browse (...) to open. For each pair, configure these properties:
|
|
|
SourceFields |
The set of fields that are provided by the integration source. These fields are the source of data. Add and configure each incoming source field using the Field Collection Editor. Click Browse (...) to open. For each field, configure these parameters:
|
Collection of fields |
|
DestinationFields |
The set of fields to which AVEVA™ Production Management writes the data. Use the Field Collection Editor to add field items for each receiving field. Click Browse (...) to open. Configure the parameters the same way that you configured the source fields. A field of the same name must exist on that reporting point location. However, not every field in the reporting point must be configured to receive data. Destination fields are configured with ColumnName rather than field name.
|
Collection of fields |
Parameters properties
|
Property |
Description |
Valid values |
|---|---|---|
|
AllowModifyExistingRecords |
Enables or disables the ability to update records with new arriving information. |
True, False |
|
FilterFields |
The fields to identify the unique record row to update. This property appears only when AllowModifyExistingRecords is set to True. Use the FilterField Collection Editor to select the fields for this property. Click Browse (...) to open the editor. |
Collection of fields |
|
Location |
The location in Studio where the external data enters the AVEVA Production Management system. Use the Select Location dialog box to choose the location in Studio that is the entry point for the external data. Click Browse (...) to open the dialog box. |
Reporting point, or Material movement |
Triggers properties
|
Property |
Description |
Valid values |
|---|---|---|
|
TriggerExpression |
Specifies the expression that determines when the variable information is collected. Execution occurs when the result of the expression changes from False to True. It is common practice to point to a timer, 15 minutes or 1 hour. |
An expression |

