activities
latest
false
UiPath logo, featuring letters U and I in white
Productivity Activities
Last updated Nov 6, 2024

For Each Event

UiPath.MicrosoftOffice365.Activities.Calendar.ForEachEventConnections

Description

Iterates through a list of calendar events defined by the filter criteria. The output can be used in other activities.

Add the activities to repeat inside For Each Event and, when you configure the activities, select Use Variable > CurrentEvent from the See more button menu to indicate that you want to repeat the actions for each event in the iteration.
Note: This activity uses pagination for processing large numbers of items and mitigating performance issues. This activity doesn't support persistence.
Scopes

This activity requires the following scopes:

  • Calendars.Read

OR

  • Calendars.Read.Shared

OR

  • Calendars.ReadWrite

OR

  • Calendars.ReadWrite.Shared

Project compatibility

Windows | Cross-platform

Configuration

  • Microsoft Outlook 365 connection - The connection for the Microsoft 365 account to use in the activity.
  • Calendar - The calendar used for the event. If not indicated, the user's default calendar is used. Click the Folder docs image icon to browse through available calendars. This field supports IResource input.
    • Use the See more button menu to use a variable or select the Reload Calendar Data option if you've modified your calendars and need to retrieve the latest data.

  • From - The date and time from which to search for events. This property supports DateTime variables and DateTime formatted values (MM/DD/YYYY Hour:Minute:Seconds, e.g., 01/10/2023 13:00:00).
  • Until - The date and time until which to search for events. This property supports DateTime variables and DateTime formatted values (MM/DD/YYYY Hour:Minute:Seconds, e.g., 01/10/2023 13:00:00).
Additional options

Options

  • Limit events to first - The maximum number of events to return. If left blank, there is no limit. This property supports Int32 variables and Int32 formatted values.
  • Timezone for current event - The time zone for the current event. If left blank, the default option is UTC. This property supports String variables and string formatted values.

Output

  • Number of events processed - The total number of events processed by the activity. Can be used outside the For Each Event activity. Automatically generated output variable. You can use it as it is or save it with a different name.

Body

The body of the activity that stores other activities used in the automation. For example, for each event in a certain timeframe, you can Update Event to include conference data or change the description, or you can Forward Event to a specific person.

Example



See also:
  • Description
  • Project compatibility
  • Configuration
  • Example

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.