Integration Service, Custom Connector Trigger

This might be a dumb question… I am playing around with custom connectors in connector builder, and i am trying to create a trigger to get new items, but i am getting hung up on this requirement ‘At least one date parameter is required to pull in the latest events. The date parameter will be auto-populated’.

How do i implement a date time variable on a generic get request and create the trigger in UiPath connector builder?

When i tried to implement a parameter that is a date time type, my get request fails when i do test trigger.

Any help is greatly appreciated

@david.rya.goderre1

Does your response contain a date field?

If yes that field is to be added…something like createdtime etc

Also for trigger to work that field should support until or since parameters for date …that is the date paramrter should be in such a way that the trigger by dedault adds current time to it and it should get all items created till that time …and yhe next poll

Cheers

Thanks for the response and the information.

My request does have a date field that is called ‘Created’. And it does support greater than or less than operators on it.

It seems like the trigger in connector builder adds in the since values, is that true?

Additionally I should mention because it may be helpful for context, I am attempt to build my own custom connector for reading items in a sharepoint list.

Now, I know there is a connector offered by UiPath to connect to and use sharepoint. But my company has locked down the ability to use it for some reason. But I am able to use an app registration that we created to read the sharepoint items. And it is successfully connected with a custom connector. The out of the box sharepoint connector requires an account sign in, even if I use the bring my own oauth credential option. So that’s my roadblock

@david.rya.goderre @david.rya.goderre1

The date parMeter with since option should be present …please check the example

You can use microsoft 365 scope activity to use the list related activities with your own app registration as well

Cheers

Correct I am currently using the Microsoft 365 activities. However that requires me to create an run an automation to check the site. Whereas this trigger can be used to poll the site in place of an automation. That’s why I’d like to set up the trigger.

Since doesn’t work with Microsoft graph api from my own research. But it might because I am implementing it in correctly.

@david.rya.goderre

May I knwo what trigger you want to create…basically currently in official as well you have trigger on calendar and maila only

Only those might be having the polling ability

Cheers

Essentially I want to know when a new item is added to a list. It is support in the official sharepoint and OneDrive connector. But for some reason that conections requires an account to setup the connector. So that is why I’m trying to build it myself using just the byoa oauth credential.

I am also wondering why the onedrive/sharepoint connector service offered by UiPath requires an account sign in, if i use the byoa oauth option?

@david.rya.goderre1

For byoa it might not need the consent…you would have selected oauth 2 with UiPath app

Cheers

i appreciate your help and responses. It appears UiPath requires admin consent when setting up the connector, no matter what permissions i choose, or which ones are granted in azure entra. I will go down the route of getting enterprise approval for the connection

1 Like