Hello,
I'm fairly new to Power Automate and this forum, so please forgive me if I have missed something obvious.
I'm using the Outlook trigger - When a new event is created (V3) on a special calendar, where all my shifts are added. That happens every evening for all events at the same time. Meaning all events of the previous months and three weeks in the future. So in total there are over 100 events deleted and created within seconds losing all references to the events created the evening before. I reformat those events and depending on the subject create a new event in my standard calender with availibility turned on or off. I have to keep track of the event IDs and delete the events that my flow created before to avoid duplicates.
If I leave concurrency control switched off, it kind of works with all events, but then it hangs at getting data from other connectors like deleting events (Error 204) because of to many requests at the same time. And I can't keep track of days where there are more than one shift as I fill an Excel sheet with one row per day. If that runs concurrently it is not predictable which event gets created first.
But if I turn on the concurrency control with 1 as parallel runs I get the error:
Unable to process template language expressions for trigger 'When a new event is created (V3)' at line '1' and column '110859': 'The number of items to split exceeded the limit for concurrency control enabled trigger 'When a new event is created (V3)': maximum '100' and actual '115'.'.
I did put in a condition in the trigger itself:
@greaterOrEquals(triggerOutputs()?['body/start'], addDays(utcNow(),-7))
to limit the trigger of past events. But that doesn't seem to have an influence.
What else can I do? Is there anything I miss?
Thanks in advance,
Henning