MongoDB Transactions
You can create a group of CRUD activities (insert, query, update, delete) inside a Local Transaction group. You must configure the activities participating in the same transaction with the same shared resource. The transaction is committed or aborted as the execution progresses towards the end of the transaction group. Transactions work only on existing collections.
Procedure
- In the application process, right-click and point to Create Group and click Local Transaction.
- Add the required activities inside the newly created Local Transaction group.
- In the General tab of the Transaction Group, select the Transaction Transport as MongoDB.
- In the Advanced tab of the CRUD activities, if the Override Transaction Behavior checkbox is selected then the activity does not participate in the transaction even if it is a part of the transaction group. However, if this activity faults, transaction fails.
Copyright © 2021. TIBCO Software Inc. All Rights Reserved.