Azure Logic App is triggering 2 times from SharePoint Online when only updating 1 field

B Hoegen Dijkhof 1 Reputation point
2021-09-10T12:48:55.057+00:00

Hi,

I expirienced a problem with triggering Azure Logic apps from SharePoint Online. The user is editing an item and updates 1 field. However the Logic App behind the list is getting 2 triggers very fast. The problem is that the workflow is creating another item on another list and processes the current list item by changing a field to another value, but because it triggers in very fast succesion, the logic app is not able to see the updated field and creates another list item.

The workflow is triggered when an HTTP request is received and first is checking if the item is already processed. Before creating the other item, the workflow gets current item context again and checks again if its processed. It looks like when working with PowerApp forms, other workflows are trigger only once. There are not any other choice fields that changes values what so ever. Is there anyone who can explain why the workflow gets triggered 2 times?

I hope I can find a solution,

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,947 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,071 questions
{count} votes

1 answer

Sort by: Most helpful
  1. CaseyYang-MSFT 10,326 Reputation points
    2021-09-13T08:24:24.68+00:00

    Hi @B Hoegen Dijkhof ,

    Please check if there is any other flow or workflow related to this field. A lot of similar problems are caused by the logic contained in the Flow that was created before, which affects the normal operation of the existing Flow.


    If an Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.