Why is the system not including in the findMatchingResources response a Resource that has deactivated the route earlier than usual?
Oracle Field Service (OFS)
I am performing a REST API /rest/ofscCore/v1/resources/custom-actions/findMatchingResources request at 4:30 pm and it is returning "totalResults": 0. Oracle Field Service is saying that there are no technicians that can perform the work order which requires a certain Work Zone and Work Skills. John Doe has deactivated his route but he is qualified and his work schedule is from 10:00 am to 07:00 pm. I don't understand why John Doe is not retuning in the findMatchingResources.
The findMatchingResources operation returns a list of Resources which can complete the activity based on the criteria in the request. The 'deactivated' route status is used by technicians to indicate they are done for the day and no longer available to take jobs. So even though the Resource work schedule is not finished, from the system point of view the technician has indicated he cannot accept any more activities for today. The system will not allow to add an activity to the deactivated route and will respond that there are no available Resources that matches the specified criteria.