Hi, I am fairly new to Power Automate and I have an MS Flow that has been working for months, but recently, I have been receiving the following error, "Action Failed. An action failed. No dependent actions succeeded." It is causing my flow to appear as it has completely failed, but the true records in the condition do get created in SharePoint. I believe this is due to the fact that the Primary Key already exist in the Azure SharePoint list, so it failed to create a new record.
I am trying to add a condition to first check if it already exists, if so, then do nothing, if it does not exist and meets the other condition, then add record into SharePoint. Not sure if I should use Scope instead, or add this additional check in upfront?
Could anyone please review my flow setup and make sure that I am building it with best practices in mind and help me enhance my flow?
Solved! Go to Solution.
Hi @NicholasRLeon ,
you need to check if the record in SQL server is exists in the sharepoint list with a Filter Array function as the link below:
The screenshot of the flow as below:
length(body('Filter_array'))
Best Regards,
Alice
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @NicholasRLeon ,
you need to check if the record in SQL server is exists in the sharepoint list with a Filter Array function as the link below:
The screenshot of the flow as below:
length(body('Filter_array'))
Best Regards,
Alice
Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
---|---|
45 | |
43 | |
43 | |
42 | |
34 |
User | Count |
---|---|
85 | |
80 | |
62 | |
51 | |
47 |