Filter Locations / FilterLocations (internally is.workflow.actions.filter.locations
)
This action is not yet complete. Some arguments may be missing.
usage
FilterLocations filter=:filter{...} sortby=("Phone Number" | "State" | "Altitude" | "Name" | "Longitude" | "Country" | "City" | "Street" | "URL" | "Latitude" | "ZIP Code" | "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:
phonenumber(Not yet supported. Submit an Issue)state(Not yet supported. Submit an Issue)altitude(Not yet supported. Submit an Issue)- name (Supported for is, isnot, contains, doesnotcontain, beginswith, endswith)
longitude(Not yet supported. Submit an Issue)country(Not yet supported. Submit an Issue)city(Not yet supported. Submit an Issue)street(Not yet supported. Submit an Issue)url(Not yet supported. Submit an Issue)latitude(Not yet supported. Submit an Issue)zipcode(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:
Phone Number
State
Altitude
Name
Longitude
Country
City
Street
URL
Latitude
ZIP Code
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",
"Category": "Location",
"CreationDate": "2015-01-22T08:00:00.000Z",
"IconName": "Location.png",
"Name": "Filter Locations",
"WFContentItemClass": "WFLocationContentItem",
"Parameters": [
{
"Class": "WFFilterParameter",
"Key": "WFContentItemFilter",
"Label": "Filter",
"ContentItemClass": "WFLocationContentItem"
},
{
"Class": "WFEnumerationParameter",
"Key": "WFContentItemSortProperty",
"Label": "Sort by",
"Items": [
"Phone Number",
"State",
"Altitude",
"Name",
"Longitude",
"Country",
"City",
"Street",
"URL",
"Latitude",
"ZIP Code",
"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"
}
]
}
]
}