Okta Workflows Google Calendar Search Missing Start and End Times
Last Updated:
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
- 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}
- Then, use either the BODY in the response or OBJECT GET MULTIPLE to retrieve the date attribute from the start and end objects:
