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

For Each Event

UiPath.GSuite.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 them, 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:

  • https://www.googleapis.com/auth/calendar

OR

  • https://www.googleapis.com/auth/calendar.readonly

Project compatibility

Windows | Cross-platform

Configuration

  • Gmail connection - The connection for the Google Workspace 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 - Select the time zone for the current event. If left blank, the default option is UTC. This property supports String variables and string formatted values.
  • Simple search - Enter the text to filter within calendar events, e.g., "demo". The filter is applied to the following fields: Summary, Description, Attendee's Display Names, Attendee's Email, and Location.

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 time frame, you can Update Event to include conference data or change the description, or you can Forward Event to a specific person.

Note:

Batching API calls is supported for the following activities when used inside the For each:

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.