Logic Apps - Runafter - Specify OR condition

Kothai Ramanathan 941 Reputation points Microsoft Employee
2023-02-06T09:02:02.36+00:00

Can we specify an OR condition for "runAfter" ?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,837 questions
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 68,396 Reputation points
    2023-02-06T09:43:47.8233333+00:00

    @Kothai Ramanathan Thanks for reaching out. Yes you can configure runAfter behavior on the action except on the action before the trigger. For more details, please refer to this document.

    As you can see in the OR condition, I have specified the configure run after behavior on condition action for HTTP action different state (is successful, has timeout out etc.)

    User's image

    Update :

    You can configure multiple action for the run after behavior from the Code View of your workflow.

    Once you add multiple actions from code view then it will also be visible from designer view.

    User's image

    For your reference adding the CodeView.txt for my workflow. Make sure to add has failed for your next action. In my case I need to add has failed, is Successful on my Initialize variable 2 action.

    Reference: https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-schema-2016-04-01#runafter-property

    Let me know if you have any queries or concerns.

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.