Is there a way to leverage Work Rules to validate based on a certain number of Work Types in a day's schedule period?

I have an environment with Field Service Lightning setup. The client would like a validation on the scheduling where only X number of specific Work Types can be scheduled to a Service Resource within the same day, including a total count between two of these for an additional check. I know Work Rules can be used to validate based on total Service Appointments for a day, but not aware of a way to use Work Rules to also look only at specific Work Types.

My initial idea is to use a Trigger to check for this and throw a custom error message to tell the user what happened if they violate this limit when scheduling. Not an ideal solution though, would rather use FSL's built in tools to accomplish this if possible but not sure they can be used to count specific Work Types and prevent the scheduling if they exceed the daily limit.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.