Using the MongoDB I am trying to produce a list of Collections and the Workflows/Objects that fall under each Collection.
Desired Output: (Example)
CollectionId | Name | OwnerId | DateAdded | App/Object Name |
1 | Collection 1 | 123 | DD-MM-YYYY | Workflow 1 |
1 | Collection 1 | 123 | DD-MM-YYYY | Workflow 2 |
2 | Collection 2 | 456 | DD-MM-YYYY | Workflow 3 |
2 | Collection 2 | 456 | DD-MM-YYYY | Workflow 4 |
I have read the documentation in the link below but I'm not still not sure how to proceed it getting the desired output. By Default the MongoDB outputs all nested values from the JSON string into columns but I want tall the nested values as rows.
http://downloads.alteryx.com/betawh_xnext/MongoInput.htm
Any help or assistance would be greatly appreciated.
Thank you.
Hey @Scruse314 ,
I suggest you download the Usage Report from the licensing portal. There you will have many examples of interactions between MongoDB collections but also showing how to parse the output properly.
Best,
Fernando Vizcaino
This is super helpful Mathieuf! Is this tool may also able to drag collection from a self built mongo db? Namely from a mongo db server not a local server?
Hi @somervill,
Yes you should be able to connect to any MongoDB. You might need to change the inputs to match your needs.
I would try to have a simple workflow to start and not an app.
Also try to input user, password into the fields, like below:
User | Count |
---|---|
6 | |
2 | |
1 | |
1 | |
1 |