WaitForEvent

You can use the WaitForEvent activity to wait for write operations in a collection. When the WaitForEvent activity is performed, the process instance is suspended and waits for the specified change to occur before resuming. This WaitForEvent activity is a signal-in activity and it is used for a replica set.