Skip to main content

Connect

AutomatR.OracleDB.Database.Connect

The "Connect" activity in AutomatR facilitates the connection to a specified Oracle database. Establishing a connection is a crucial step before executing any database-related operations. This activity provides options to configure the connection string and other parameters for secure and efficient database communication.

Properties

NameDescription
Input
Connection StringSpecifies the connection string for connecting to the Oracle database. String variables containing the connection string.
PasswordProvides a secure password required to connect to the Oracle database. String variables containing the secure password.
Optional
DelaySpecifies the amount of time (in seconds) to wait before executing the "Connect" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Output
ConnectionOutputs the result of the "Connect" activity, storing the OracleConnection variable. This variable can be used in further activities that require database communication.

How to use:

  1. Drag and drop the "Connect" activity onto the workflow.
  2. Configure the properties by specifying the connection string, and optionally, the delay and password.
  3. Execute the workflow to establish a connection to the specified Oracle database.
  4. Use the resulting OracleConnection variable in subsequent database-related activities.

Note:

  • Ensure that the "Connect" activity is used before performing any database operations to establish a connection.
  • The connection string is a critical parameter, and it should be configured correctly to connect to the desired Oracle database.

Example: Consider an example where the "Connect" activity is used to establish a connection to an Oracle database:

Connect:
Connection String: "Data Source=OracleDB;User Id=myUser;Password=myPassword;"
Password: "securePassword"
Connection: oracleConnectionVariable

In this example, the "Connect" activity is configured with the necessary connection string, password, and outputs an OracleConnection variable named "oracleConnectionVariable" for further database operations.