when there is a message in a queue (v2) trigger only fires once a minute instead of given time

Wouter Dumon 20 Reputation points
2024-03-14T11:13:41.28+00:00

Hey,

We have set-up a queue that gets a message every x seconds which we want to read out in another logic app.

This is our trigger:

    `"triggers": {`

"When_there_are_messages_in_a_queue_(V2)": {

"evaluatedRecurrence": {

"frequency": "Second",

"interval": 5

},

"inputs": {

"host": {

"connection": {

"name": "@parameters('$connections')['azurequeues']['connectionId']"

}

},

"method": "get",

"path": "/v2/storageAccounts/@{encodeURIComponent(encodeURIComponent('AccountNameFromSettings'))}/queues/@{encodeURIComponent('queueworklogs-erp-jira')}/message_trigger",

"queries": {

"visibilitytimeout": "900"

}

},

"recurrence": {

"frequency": "Second",

"interval": 5

},

"splitOn": "@triggerBody()?['QueueMessagesList']?['QueueMessage']",

"type": "ApiConnection"

}

}

},

Which as you can see is every 5 seconds however our trigger only happens once every minute (see attachment below

) User's image

is there some trick to make the logic app read the queue faster then once every minute?

( we are using the consumption logic app plan)

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,211 questions
Azure Queue Storage
Azure Queue Storage
An Azure service that provides messaging queues in the cloud.
108 questions
0 comments No comments
{count} votes

Accepted answer
  1. MayankBargali-MSFT 70,536 Reputation points
    2024-03-14T14:02:28.07+00:00

    @Wouter Dumon Thanks for reaching out.

    This is the Throttling Limits for the Frequency of trigger polls i.e. 1 call renewal period of 60 sec as documented here.

    So max you have one call every minute. As you have specified the interval as 5 sec so the throttling call limit will be hit.

    Unfortunately, you cannot have the trigger frequency of azure queue connector less than 1 minute.

    Let me know if you have any queries or concerns.

    Please 'Accept Answer' if it helped so that it can help others in the community looking for help on similar topics.


0 additional answers

Sort by: Most helpful

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.