QuerybyIndex.bwp
This process demonstrates how to use the plug-in to query documents in a specified collection using a newly created index.
The process is designed with the following activities:
The following table describes the activities in the process:
| Activity | Description |
|---|---|
| Timer | Starts the process |
| CheckIfCollectionExists | Checks if specified collection exists, if it exists then the transition flows to delete document, if does not exist then the transition flows to create documents. |
| DeleteDocument | Invokes the DeleteDocument subprocess to delete all documents from the specified collection |
| DropIndex | Invokes the DropIndex subprocess to delete all indexes from the specified collection |
| CreateDocument | Invokes the CreateDocument subprocess to insert a group of documents in the specified collection and create a new index for the inserted documents |
| UpdateDocument | Invokes the UpdateDocument subprocess to update a document in the specified collection |
| QueryDocument | Invokes the QueryByIndex subprocess to query the updated document from the specified collection using the newly created index |
Copyright © 2021. TIBCO Software Inc. All Rights Reserved.
