Hello, in this tutorial, I will show you how to commit multiple Add, Update, and Delete operations.
Hello, in this tutorial, I will show you how to commit multiple Add, Update, and Delete operations.
This means that it'll try to execute multiple operations and if even 1 fails, it will roll back to the original data.
Creating the Batch
To begin executing Batch Operations, you will need to create the Batch. Use the "Begin Batch" node to start.
Then use the "Add Document Batch Operation," "Update Document Batch Operation," "Delete Document Batch Operation" nodes to add as many operations as possible you want to commit.
Committing the Batch
Once the Batch is created, use the Commit Batch node to execute all the operations.
It has 3 pins
1 for the batch operations
The On Batch Completed callback gets called when it successfully committed all the operations it was assigned with.