Advanced

The following table describes the fields on the General tab of the InsertDocument activity.

Field Module Property? Description
Override Transaction Behavior No When this check box is selected, the activity does not participate in the transaction even if it is a part of the transaction group. However, if such an activity fails, the entire transaction fails.
Lock Document No When this check box is selected, the document specified in QueryDocument input is locked by updating the document with a new attribute LockID and is set to a value that is of ObjectId data type. Every time the document is locked the value is modified. Once the write lock is obtained on the document any concurrent write operations on the same document give writeconflict error. For Query type FIND_ONE, when Lock Document checkbox is checked, locking only the first document that matches the input given in Query Document. For the Query Types FIND_MANY, COUNT, DISTINCT locking all the documents that match the input given in the Query Document. This feature is not applicable for the query type AGGREGATE.