There is a requirement where we need to know if there are any workflows, validation rules, code, process builders, etc that are specifying a "null" record type for any of the object in the org. We are looking to query sfdc metadata to determine if there are any workflows, validation rules, code, process builders, etc that are specifying a "null" record type.
The requirement arose from a particular situation. The situation is, We are using sfApex Tool for migration of data from from production to partial sandbox. There were records in the Source(prod) where fro many objects default record type is not set. sfApex tool does not allow records to be transferred with Null record types, so for those objects it assigns any random record type in the destination org.
So to handle this situation, we need to set default record types for these objects. If we simply set it, there might be situation of conflict where any configuration(workflows, validation rules, process builders) or code(Apex) is already creating records with null record type. Before we set the default record type for these objects, we want to know if there are any workflows, validation rules, code, process builders, etc that are specifying a "null" record.