cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
GER_Nico
New Member

Trigger configuration

Hi,

 

I'm trying to create a connector with a polling trigger for my REST API, as described here: Polling trigger - Learn | Microsoft Docs. My API returns an array of objects. As described in the doc, I modified my API to return an object. This object has exactly one property, the array. Also as described in the documentation, my array is sorted in descending order, the newest object is at the top.

 

When I create a new custom connector from blank and import the request and response for my trigger from sample, I end up with this Trigger configuration that can also be seen in the documentation:trigger-config-1-png.PNG

 

With this everything works as desired. Maybe someone can tell me what Trigger Hint is used for. The field is marked as required, but it does not need to be filled out. There is nothing about it in the documentation either.

 

But if I now import a custom connector from an OpenAPI file, I get the following trigger configuration. It doesn't matter whether I use the OpenAPI file that is generated by my API or download the previous custom connector.

trigger-config-2.png

In both cases I have the following schema:

 

 

type: object
    properties:
      array_of_objects:
        type: array
        items: {type: object}

 

 

In the first configuration I can use the array_of_objects and in the second only the final objects.

 

So can someone tell me why I end up with the second Trigger configuration?

 

Thanks in advance for your help

1 REPLY 1
MiSchroe
Frequent Visitor

At least for the trigger hint field I can help: This is some descriptive text that will be displayed if you test your flow.

MiSchroe_1-1650923091658.png

 

MiSchroe_0-1650923054848.png

 

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,411)