ATS v2: Interview Attendee Custom Code Filtering Logic Method Two

Use Case

Use this method to get suggested Interviewers for Internal Interview and SendOut actions based on Interviewer Configuration custom metadata settings.

This customization will retrieve a list of suggested 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, cannot be empty)
    • Required his 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> getSuggestedInterviewers(Map<String, Object> attributes);

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