SaveXMLtoMongoDB.bwp

This process demonstrates how to use the plug-in to save XML documents into 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 deletes 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 format file.
RenderXml Generates a new XML file.
RenderJSON Converts the newly generated XML file into a JSON file.
CreateDoucments Invokes the CreateDocument subprocess to insert documents into the specified collection.