In logic apps Is there any way to get the status of current flow?

Bharvi Bhut 181 Reputation points
2022-07-07T05:53:51.84+00:00

Hello there,
I am making a logic app which has 2 parallel flow so, I want to terminate 1st flow if 2nd flow is not in running state.
Basically I want to know the status of flow.
attached an image for more understanding,
218416-msque3.png

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,347 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,826 Reputation points
    2022-07-07T14:19:08.527+00:00

    @Bharvi Bhut Thanks for reaching out. If you are running the parallel branch and any branch has dependency on the other branch, then you should not run your workflow parallelly and the workflow should be sequential. There is no way to terminate your one branch based on your other branch running in parallel. Rather than you should be leveraging the Scopes and exception handling in your workflow.

    Let's say as per your scenario you have branch A (left side) and branch B (right side) running parallel. So, your workflow should be sequential running the branch B and based on the condition (failed/succeeded) of your previous action you can choose whether your branch B action should be run, or not by exception handling in your workflow in the condition workflow.

    If you need assistance and share more details on your requirement, then I can connect with you offline.

    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.