Find Calendar Events / FindCalendarEvents (internally is.workflow.actions.filter.calendarevents
)
This action is not yet complete. Some arguments may be missing.
This action requires that Shortcuts has permission to use WFCalendarAccessResource.
usage
FindCalendarEvents filter=:filter{...} sortby=("Attendees" | "Calendar" | "Creation Date" | "Duration" | "File Extension" | "File Size" | "Has Alarms" | "Is All Day" | "Last Modified Date" | "Location" | "Name" | "Notes" | "Organizer" | "Start Date" | "Title" | "URL" | "Random") order=("Oldest First" | "Newest First" | "Latest First" | "Smallest First" | "Biggest First" | "Ascending" | "Descending" | "Shortest First" | "Longest First" | "A to Z" | "Z to A") limit=(true | false | variable) getItems=number
arguments
filter: Filter (Docs)
Accepts a :filter{} of filters. This filter supports:
attendees(Not yet supported. Submit an Issue)calendar(Not yet supported. Submit an Issue)creationdate(Not yet supported. Submit an Issue)duration(Not yet supported. Submit an Issue)fileextension(Not yet supported. Submit an Issue)filesize(Not yet supported. Submit an Issue)hasalarms(Not yet supported. Submit an Issue)isallday(Not yet supported. Submit an Issue)lastmodifieddate(Not yet supported. Submit an Issue)location(Not yet supported. Submit an Issue)name(Not yet supported. Submit an Issue)notes(Not yet supported. Submit an Issue)organizer(Not yet supported. Submit an Issue)startdate(Not yet supported. Submit an Issue)title(Not yet supported. Submit an Issue)url(Not yet supported. Submit an Issue).
Example: :filter{name is testname}
sortby: Enumeration (Docs)
Allows Variables: true
Accepts a string or variable containing one of the options:
Attendees
Calendar
Creation Date
Duration
File Extension
File Size
Has Alarms
Is All Day
Last Modified Date
Location
Name
Notes
Organizer
Start Date
Title
URL
Random
order: Enumeration (Docs)
Allows Variables: true
Only enabled if: argument WFContentItemSortProperty != Random
Accepts a string or variable containing one of the options:
Oldest First
Newest First
Latest First
Smallest First
Biggest First
Ascending
Descending
Shortest First
Longest First
A to Z
Z to A
limit: Switch (Docs)
Allows Variables: true
Accepts a boolean or a variable.
getItems: Stepper Number (Docs)
Allows Variables: true
Only enabled if: argument WFSwitchParameter == true
Accepts a number
or variable
with a number.
source json (for developers)
{
"ActionClass": "WFContentItemFilterAction",
"AppIdentifier": "com.apple.mobilecal",
"Category": "Calendar",
"CreationDate": "2015-01-22T08:00:00.000Z",
"Name": "Find Calendar Events",
"RequiredResources": [
"WFCalendarAccessResource"
],
"ShortName": "Find Events",
"Subcategory": "Calendar",
"SuggestedAsInitialAction": false,
"WFContentItemClass": "WFCalendarEventContentItem",
"WFContentItemDefaultProperty": "Calendar",
"Parameters": [
{
"Class": "WFFilterParameter",
"Key": "WFContentItemFilter",
"Label": "Filter",
"ContentItemClass": "WFCalendarEventContentItem"
},
{
"Class": "WFEnumerationParameter",
"Key": "WFContentItemSortProperty",
"Label": "Sort by",
"Items": [
"Attendees",
"Calendar",
"Creation Date",
"Duration",
"File Extension",
"File Size",
"Has Alarms",
"Is All Day",
"Last Modified Date",
"Location",
"Name",
"Notes",
"Organizer",
"Start Date",
"Title",
"URL",
"Random"
]
},
{
"Class": "WFEnumerationParameter",
"Key": "WFContentItemSortOrder",
"Label": "Order",
"Items": [
"Oldest First",
"Newest First",
"Latest First",
"Smallest First",
"Biggest First",
"Ascending",
"Descending",
"Shortest First",
"Longest First",
"A to Z",
"Z to A"
],
"RequiredResources": [
{
"WFParameterKey": "WFContentItemSortProperty",
"WFParameterValues": [
"Random"
],
"WFResourceClass": "WFParameterRelationResource",
"WFParameterRelation": "!="
}
]
},
{
"Class": "WFSwitchParameter",
"Key": "WFContentItemLimitEnabled",
"Label": "Limit"
},
{
"Class": "WFStepperParameter",
"Key": "WFContentItemLimitNumber",
"Label": "Get Items",
"RequiredResources": [
{
"WFParameterKey": "WFSwitchParameter",
"WFParameterValues": [
true
],
"WFResourceClass": "WFParameterRelationResource"
}
]
}
]
}