Skip to main content
Community site session details

Community site session details

Session Id : 8rfTBKIyR6Bdj2s0YwQjDy
Power Automate - Using Connectors
Unanswered

Polling trigger not incrementing ID on next poll

Like (0) ShareShare
ReportReport
Posted on 4 Apr 2023 08:17:40 by

Hi all,

 

I made a custom connector with a polling trigger, the trigger is working but it doesn't increment the ID on the next poll GET request.

In fact the ID parameter isn't in the query parameters at all, this way the triggers keeps firing for the same objects again and again.

 

Swagger definition:

 

 /trigger/new_notification:
 get:
 summary: Trigger for new notification.
 description: new notification.
 operationId: NewNotification
 x-ms-visibility: important
 x-ms-trigger: batch
 x-ms-trigger-metadata:
 mode: polling
 kind: query
 x-ms-trigger-hint: Create new notification.
 parameters:
 - name: id
 type: integer
 in: query
 required: false
 x-ms-visibility: internal
 x-ms-trigger-value:
 value-collection: notifications
 value-path: id
 - name: status
 type: string
 default: ''
 in: query
 required: false
 x-ms-visibility: advanced
 - name: type
 type: string
 default: ''
 in: query
 required: false
 x-ms-visibility: advanced
 - name: by_user_id
 type: string
 default: ''
 in: query
 required: false
 x-ms-visibility: advanced
 - name: sender_id
 type: string
 default: ''
 in: query
 required: false
 x-ms-visibility: advanced
 responses:
 '501':
 description: error
 schema:
 type: object
 properties:
 name:
 type: string
 description: Error message.
 default:
 description: default
 schema:
 type: object
 properties:
 notifications:
 type: array
 items:
 type: object
 properties:
 id:
 type: integer
 format: int64
 description: id
 type:
 type: integer
 data:
 type: string
 status:
 type: integer
 flags:
 type: integer
 date:
 type: integer
 notified:
 type: integer
 notify_date:
 type: integer
 by_user_id:
 type: integer
 sender_id:
 type: integer

 

 

GUI shows:

 

Tom_FM_0-1680595816778.png

 

Tom_FM_1-1680595844485.png

Tom_FM_3-1680595868033.png

 

 

Tom_FM_2-1680595854956.png

 

This is what I get on the API server side in the http request:

'url' => 'trigger/new_notification',
'status' => '',
'type' => '',
'by_user_id' => '',
'sender_id' => '',

 

This ID parameter is not there...

Anyone knows how to fix this?

 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1

Featured topics

Loading complete