How to use Polling in Azure sentinel Playbook

Jayesh Prajapati 1 Reputation point
2022-06-16T06:18:55.97+00:00

We have to implement a functionality in the azure logic app in which we need to wait till one API call gets completed and during that time we need to poll the status of that process periodically using another API call. Also we have a condition on which this polling gets stopped or it will be stopped after a timeout period. Can you suggest a way to achieve this?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,312 questions
Microsoft Sentinel
Microsoft Sentinel
A scalable, cloud-native solution for security information event management and security orchestration automated response. Previously known as Azure Sentinel.
1,205 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Andrew Blumhardt 9,866 Reputation points Microsoft Employee
    2022-06-16T18:56:51.687+00:00

    I would just set a timeout in the properties of the first API activity. Then use "Run after" to set a response activity if it times out.

    https://learn.microsoft.com/en-us/azure/logic-apps/logic-apps-exception-handling

    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.