D365 is not updated correclty

Bacol, Jaypee B 5 Reputation points
2024-07-18T14:51:37.6666667+00:00

Hi,

I have 3 data in the list. [{ id: 1, amount: 500}, { id: 1, amount: 600}, { id: 1, amount: 700}].

I have a workflow in logic app that loops that list to update the one record in the d365. The expectation is that the amount 700 should be saved. The actual result was the 600 was saved.

Below are the details of my workflow in logic app.

  1. I have one workflow which is parent that loops each record in the list. It calls workflow operation, let us call this inventory workflow. This is stateful workflow. I already disabled the asynchronous of calling inventory workflow.
  2. The inventory workflow calls workflow operation let us call it updateinventory workflow. This is stateful workflow. I already disabled the asynchronous of calling updateinventory workflow. I also turned on the limit and set the Degree of parallelism to 1. See below User's image User's image
  3. The updateinventory is the one that updates the amount in the d365. This is stateful workflow. I also turned on the limit and set the Degree of parallelism to 1. User's image
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,162 questions
0 comments No comments
{count} votes

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.