<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
Okta Workflows Google Calendar Search Missing Start and End Times
Workflows
Okta Classic Engine
Okta Identity Engine
Overview

Google Search Events or Read Event Information cards are not able to retrieve the StartTime or EndTime for ALL DAY events. These fields are only populated for Events that have Start and End Times.

Applies To
  • Okta workflows
  • Google Calendar
  • All Day Events
Cause

The Start and End for All Day Events are stored in different objects than meeting type events.

Solution
  1. Retrieve the event, and if the Start Time field is blank, use the Google Calendar Custom API card to retrieve the Event using this:
    GET call /v3/calendars/{calendar ID}/events/{event ID}
Custom API card
  1. Then, use either the BODY in the response or OBJECT GET MULTIPLE to retrieve the date attribute from the start and end objects:
This screenshot first shows how to retrieve the start and end dates from an all-day event and then from a meeting.
retrieve start and end dates from all-day event
 
Loading
Okta Workflows Google Calendar Search Missing Start and End Times