ATS v2: Interview Attendee Custom Code Filtering Logic Method One

Use Case

Use this method to search Interviewers for Internal Interview and SendOut actions using a search key based on Interviewer Configuration custom metadata settings.

This customization will search interviewers.

Parameters

  • attributes (Map<String, Object>): A map containing action attributes. The following keys must be included:

    • jobId (String): The Job Id
      • Required. This can not be empty.
    • jobAccountId (String): The Job's Account ID.
      • Required. This can not be empty.
    • actionName (String):The ATS action name.
      • Required. This can not be empty. Supported values:
        • Internal_Interview
        • Send_Out
    • searchKey (String):The Interviewer Search Key.
      • Required. This can not be empty.
    • selectedIds (Set<Id>)(String): A set of already selected Interviewer IDs.
      • This can be empty.
      • May contain User or Contact Ids.

Returns

Method Signature:

Copy
List<InterviewerWrapper> searchInterviewers(Map<String, Object> attributes);

List<InterviewerWrapper>: A list of suggested interviewers wrapped in the InterviewerWrapper class.