Close Connection Activity
The Close Connection activity terminates an active connection within the automation workflow. This ensures proper resource management and releases system resources associated with the connection, preventing potential leaks or conflicts.
| Field | Description | Requirement |
|---|---|---|
| Connection name | Specifies the name of the connection to be closed, selected from a list of previously established connections. | Required |
Action Types & Examples
Close Connection
- Format:
boolean - Example Result:
true
Implementation Examples
Field Setup - Connection name: robustaConnection
Execution Parameters - No additional execution parameters are required for this activity.
Technical Notes
This activity requires that the specified connection name corresponds to an active, open connection. Attempting to close a connection that is not open or does not exist will result in a runtime error. It is best practice to ensure connections are closed when no longer needed to free up system resources.