Hi,
I'm trying to create a flow that inserts or updates a document. The JSON formats that I have tried are:
{
"id":"ID",
"label": "LABEL",
"prop1": "PROP1"
}
{
"id":"ID",
"label": "LABEL",
"properties":{
"prop1": {
"value": "PROP1"
}
}
}
In none of these cases I've managed to see in the cosmos DB the property prop1.
FYI the cosmosDB is using Gremlin.
Thank you,
I cannot also add edges on the graph. Am I using the right connector?
Thank you,
Hi @sundayDriver,
Do you use Azure Cosmos DB connector in your flow?
Could you please share a screenshot of your flow’s configuration?
Further, could you view the document that you have created in Azure Cosmos DB?
I have made a test on my side and the flow works well, but I could not view it in Azure Cosmos DB:
If you would like to see the documents of Azure Cosmos DB, you could add “Get a document” action or “Get all documents” action in your flow.
More details about Documents of Azure Cosmos DB, please check the following document:
Best regards,
Kris
Hi @v-xida-msft,
Thank you for your help. Here are some screenshots when I try to add an edge:
And when I try to add a property:
The property cannot be seen here.
Thank you,
I have the same problem. If I create a new Cosmos DB element via Flow, the element is created, but the properties are not stored within it. I used the example GraphSON from https://docs.microsoft.com/en-us/azure/cosmos-db/gremlin-support as the Document-code in Flow-editor. However, FirstName, LastName and Age are not stored in the element. Am I doing something wrong? Are there any workarounds for this issue?
Check out new user group experience and if you are a leader please create your group
See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |
User | Count |
---|---|
3 | |
3 | |
2 | |
2 | |
2 |