The following table describes the fields in the
General tab of the DatabaseCommand activity.
Field
Module Property?
Description
Name
No
The name of the activity displayed in the process. The default value is
DataBaseCommand.
MongoDB Connection
Yes
Select a shared resource by completing the following steps:
Click the
Choose/Create Default Resource
icon to open the
Select MongodbconnectionResource Resource Templatewindow, where all the available resources are listed.
In the Matching items panel, select one shared resource by clicking it. Click OK.
Read Reference
Yes
Select the read preference when the plug-in reads documents from a collection. Select one from the following list:
PRIMARY
Reads from the primary member of a replica set.
PRIMARY_PREFERRED
Reads from the primary member preferentially, but if the primary member is unavailable, reads from secondary members of a replica set.
SECONDARY
Reads from secondary members of a replica set.
SECONDARY_PREFERRED
Reads from secondary members preferentially, but if no secondary members are available, reads from the primary member of a replica set.
NEAREST
Reads from a member of a replica set with the least network latency, irrespective of the member type of the replica set.