Azure Cosmos DB structure change impacted in logicApps

Ancy 6 Reputation points
2023-08-21T15:03:32.4333333+00:00

Hello,

I wanted to know like what is the impact in LogicApps if the structure of the data has been changed for the rows of Azure CosmosDB?

Like, if we have a Cosmos DB records having structure like {"name":"AAA", "age":30} and it has been used to create/update record in the same table using Azure Logic App. Now I need to add an email field, so we have to come to LogicApp and change the structure in the action. OR suppose, the same cosmos db is being used in more than one LogicApps, then in every LogicApp I have to change the structure. So, Is there any other way in which, we can easily manage this change by updating the same into one place?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,468 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,847 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JananiRamesh-MSFT 29,246 Reputation points
    2023-08-22T10:34:52.4566667+00:00

    Hi Ancy Thanks of reaching out. If you change the structure of the data in your Cosmos DB records, you will need to update the corresponding Logic Apps to reflect the new structure. This is because the Logic Apps are designed to work with a specific data structure, and changing the structure of the data will require changes to the Logic Apps that use that data.

    If you are using the same Cosmos DB in multiple Logic Apps, you will need to update each Logic App to reflect the new data structure.

    please let me know incase of further queries, I would be happy to assist you.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.