Implicitly convert map list to Record Type

Certified Senior Developer

Hi all,

I'm trying to create a generic save process which will take a map list as a parameter that will be converted to different types of record types for a write records MNI node (since I can't do 1 write records for different record types).

I want to know if there's a way to iterate through the map and convert it to it's appropriate record type. Better approaches are welcome if you believe this is an anti-pattern.

I want to centralise a few a!process saves through this process cause it seems like creating a save process for each screen is overkill.   

  Discussion posts and replies are publicly visible