Deleting a Domino document
Use the Delete Activity to delete a document from the Domino® database. Each deleted document must be uniquely identifiable by its UniversalID or NotesID.
Using the delete activity
- Right-click Orchestration in the Project pane and click New Orchestration to create or open an orchestration. The orchestration pane is displayed.
- Select the Activities tab and expand the Domino folder.
- Drag Delete Activity from the Domino folder onto the orchestration. A graphical representation of the orchestration along with the Checklist is displayed.
- The Checklist pane lists the tasks(Summary, Pick Endpoint, Configure, Map inputs, Map outputs) that you must perform to complete the configuration of the outbound activity.
- Click Pick Endpoint, and then select a Domino endpoint.
For instructions on creating or editing a Domino endpoint, see Creating or editing an endpoint for a Domino activity.
- Click Configure from the Checklist. The
Configure pane is displayed.
- Click Browse to select an existing database from the Browse Domino databases pane. The Browse Domino databases display all the databases for the selected endpoint.
- Click Next to select an existing form from
the Browse Domino Forms pane.
The Browse Domino Forms displays
all the forms present in the selected database of the Domino server. Note: The Next button is enabled only after you have selected the database name.
Specifying the map inputs for the delete activity
- Click Map Input from the Checklist. The input parameters for the specific Domino activity are displayed under the To Activity pane. Some of the common input parameters are defined in the following table.
Parameter Name Description UniversalID The UniversalID parameter is a read/write property that uniquely identifies a document across all replicas of a database. In character format, the unique ID parameter is a 32-character combination of hexadecimal digits (0-9, A-F). The UniversalID is also known as the unique ID or UNID. The data type is string. NotesID The Notes® ID of a document is a read only property and has a hexadecimal value of up to 8 characters, which uniquely identifies a document within a particular database. The NotesID represents the location of a document within a specific database file. So the documents that are replicas of one another generally have different Notes IDs. A Notes ID does not change, unless the document is deleted. Note: You must map the input parameters of the activity.
For Form Types that are same across multiple databases, you can now specify the database name as part of the optional parameters in map inputs, wherein the same orchestration can be used to perform outbound operations on different databases. To do this, you must specify the database name in the databaseName optional parameter (described in Table 1). If the databaseName parameter is populated with a value, the outbound operation is performed on the database specified in the databaseName parameter. If there is no value specified, the database name that is specified during configuration is used to perform the outbound operation.
Input Parameters | Description |
---|---|
forceDelete | This property specifies if the document is to be deleted during a conflict of delete operation. It is of type boolean. |
databaseName | databaseName is the name of the database from which the document is deleted. If a value is set for this parameter, then the value of the database given in the configure panel will be overwritten. This parameter is useful when documents with the same structure (Form) need to be deleted from multiple databases, using the same orchestration. |
Parameters | Description |
---|---|
dominoConnectionProperties parameters | |
hostName | Specifies the host name or IP address of the machine on which Domino server is running. |
diiopPort | Specifies the Domino Internet Inter-ORB Protocol (DIIOP) port that allows Java™ applets or applications to access Domino data remotely using CORBA. The default value is 63148. |
username | Specifies the user name to connect to the Domino server. |
password | Specifies the password that is associated with the user name to connect to the Domino server. |
connectionPool parameters | |
minimumConnections | Specifies the lowest number of Domino server connections that the Integration Appliance keeps open in the connection pool. Entering 0 (zero) is supported. The default value is 5. |
maximumConnections | Specifies the maximum number of Domino server connections that the Integration Appliance can keep open in the connection pool. Entering 0 (zero) means the maximum number of connections is unbounded. The default value is 25. |
maxIdleTime | Specifies the amount of time in minutes that a Domino server connection can be open in an idle state before being closed by the Integration Appliance. Entering 0 (zero) means that the connections are closed when they are returned to the pool —no idle time. The default value is 120 minutes. |
maxWait | Specifies the amount of time in seconds that the Integration Appliance waits for a connection when all the connections in the pool are exhausted. If no connection is obtained after the wait time, an exception is thrown. The default value is 300 seconds. |
reclaimConnections | Specifies the interval at which the connector checks for idle connections. Idle connections are reclaimed until the minimum number of connections is reached, as specified in the Minimum Connections parameter. The default value is 5 minute. |
Specifying the map outputs for the delete activity
- Click Map output from the Checklist.
The output parameters for the Domino activity are displayed under the From Activity pane.
Note: You can map the output parameters of the activity that is based on your requirement.