SaveXMLtoMongoDB.bwp

This process demonstrates how to use the plug-in to save XML documents to MongoDB.

The process is designed with the following activities:



The following table describes the activities in the process:

Activity Description
Timer Starts the process
DeleteDocuments Invokes the DeleteDocument subprocess to delete documents from the specified collection
ReadFile Reads the specified XML file and converts it to a string
ParseXml Parses the string and converts it into an XML file
RenderXml Generates a new XML file
RenderJSON Converts the newly generated XML file to a JSON file
CreateDocuments Invokes the CreateDocument subprocess to insert documents in the specified collection