mp.put("Site Type (Industry)",ifnull(potDetails.get("Customer Industry"),""));
etc etc
The other lines seem to work apart from the one in yellow, which defaults to a certain person. I was wondering if this is because it appears as a drop down field and so as a result is never null? How can I fix this?