Office365Outlook connector triggering twice when called from a ForEach statement inside a collection
I have a colDatesSelected which just stores the list of all dates selected from a calendar. All i am trying to do is create a Calendar invite for each of the dates using below code: But for each of the dates in the collection I am getting two exact same invites per day.
ForAll( colDatesSelected, Office365Outlook.V4CalendarPostItem( vCalendarID, "Please checkin before proceeding to office", DateTimeValue(Text(DateAdd( SelectedDates, 7, Hours),ShortDateTime )), DateTimeValue(Text(DateAdd( SelectedDates, 8, Hours),ShortDateTime )), "(UTC-08:00) Pacific Time (US & Canada)" );
There are a couple other posts (which I cannot locate presently) on exactly this. It appears to be a bug - you may have to do this another way.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.