The Generic Parser

Bullhorn Recruitment Cloud has designed a generic parser that can handle field mapping from resume to Contact record from any Search and Match provider. The Search and Match provider is identified by the Search and Match Configuration (TR1__Search_Match_Configuration__mdt) Custom Metadata Type.

When the Provider Type is Textkernel, the relevant TextkernelParser and TextkernelProvider API classes is called.

The idea of the generic parser is to avoid the use of multiple IF clauses that have hard-coded references to the XML Nodes names and Fields on the Contact object.

The generic parser iterates the list of records in the Candidate Mapping (TR1__Candidate_Mapping__mdt) Custom Metadata Type. Each record represents a field value that needs to be stored in Bullhorn Recruitment Cloud and is fetched using an XPath expression. The generic parser employs the SObject methods – put( fieldname, object ) to place the value into the respective field on the contact record without hard-coding references.

Available Field Mapping

The generic parser currently supports field mapping to the following Bullhorn Recruitment Cloud objects: Contact, Employment History, and Education History. The Object field on the Candidate Mapping Custom Metadata Type record captures the name of the Object for any field included in the mapping.