Sync standard hours from MySQL through service endpoint
Recipe ToolsDatabaseMarketing
What it does
When someone calls Get fe_lib_standard_hours, this automation queries the fe_lib_standard_hours table in MySQL. It returns the rows to the caller, or returns an error response without retry if something goes wrong.
Who it's for
Engineering teams who need to retrieve standard hours data from MySQL through a real-time service endpoint.
Apps used
How teams use this
Retrieve standard hours for scheduling
Call Get fe_lib_standard_hours to fetch current standard hours from MySQL and use the data to calculate employee schedules or validate time entries. The endpoint provides real-time access without manual database queries.
Integrate standard hours into payroll systems
Connect a payroll or HR system to this endpoint so standard hours are automatically pulled from MySQL during payroll processing. Only the calling system changes, not the automation itself.
Add filtering by department or role
Extend the query to filter fe_lib_standard_hours by department or employee role so only relevant standard hours are returned. Include a filter parameter in the call to narrow the result set.
How it works
- Receive the Get fe_lib_standard_hours call. A real-time call to Get fe_lib_standard_hours arrives at the service endpoint, initiating this automation.
- Query the standard hours table. Select all rows from the fe_lib_standard_hours table in MySQL to retrieve the current standard hours data for the response.
- Return the standard hours response. Send the rows from MySQL back to the caller through the service endpoint. If an error occurred during the query, return the error response without retrying.