Skip to content

Locations

flowtask.components.Workday.types.locations

LocationType

LocationType(component, max_retries=3, retry_delay=0.5)

Bases: WorkdayTypeBase

Handler for the Workday Get_Locations operation.

execute async

execute(**kwargs)

Execute the Get_Locations operation and return a pandas DataFrame.

Supported parameters: - location_id: Specific location ID to fetch (uses Request_References) - location_name: Filter by location name (uses Request_Criteria) - location_type: Filter by location type - location_usage: Filter by location usage - inactive: Filter by inactive status (True/False)

get_active_locations async

get_active_locations()

Convenience method to get all active locations.

get_location_by_id async

get_location_by_id(location_id)

Convenience method to get a specific location by ID.

get_location_by_name async

get_location_by_name(location_name)

Convenience method to get a specific location by name.

get_locations_by_type async

get_locations_by_type(location_type)

Convenience method to get locations by type.