question

EvanWong-4506 avatar image
0 Votes"
EvanWong-4506 asked EvanWong-4506 commented

Logic Apps SharePoint connector Trigger

Regarding the "When a file is created or modified (properties only)" activity in Logic Apps, is there a way to specify the "At these hours" or "At these minutes" for the Sharepoint Frequency check? Currently, there is only an option for Start Time. I originally tried once a day setting a time zone and a Start Time, but the actual run time occurred about 2 hours late.

I'm guessing I guess the start time only specifies when the trigger is activated, but if you put a start time that already passed, then the the actual trigger time might be tied to when the logic app was created?

I want to be able to schedule it to check at a specific time every day, but there's no option as seen in the screenshot below. Would an option be to use it in conjunction with a Recurrence Activity? Or should i just set the start date for tomorrow and hope that will reset the start time?


121206-screenshot-2021-08-06-113933.png


azure-logic-apps
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MayankBargali-MSFT avatar image
0 Votes"
MayankBargali-MSFT answered EvanWong-4506 commented

@EvanWong-4506 There are two configuration one is the Start Time when you want your logic app to trigger and used it as the base time for all of your reoccurrence trigger and the other is How often do you want to check the items where you specify the reoccurrence of your trigger.

When you specified the Start time the trigger will start trigger only after the specified date and time. If you have specified the past time then based on the “How often do you want to check the items?” configuration your trigger will trigger the next time.
Let's take an example you have specified the Start time as 2021-08-08T03:10:00Z i.e. the past date and “How often do you want to check the items” value as 1 Day. As the date and time is already past time so the next trigger will be 10th Aug 3:10:00 UTC as the current date and time (8/9 03:15 UTC).
But if the Start time is 2021-08-08T04:10:00Z and the check item still as 1 Day then the next trigger will be 9th Aug 04:10:00 UTC as there is still time for today’s trigger.

If you don’t specify the start time then it will take the current time as the base time for all the reoccurrence trigger based of your configuration. If you don’t specify the timezone it take the UTC as default timezone.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Thanks for the response. That's what I figured after noticing it didn't work as expected. I think the feature should be implemented to match the Recurrence activity. The way it's set up currently, it seems the run time shifts by a bit under a minute each time. That means after a couple months months of daily runs, you could become an hour off. 122952-image.png


0 Votes 0 ·
image.png (19.8 KiB)