Hi Elpibato, I’m not sure what does ‘ Does anybody have an idea how can i check these fields for null value so that i dont get null if these are empty?’ mean. Do you mean that if firstName and lastName are empty, you don’t want to get “null” in field “salutation for mail”? So which value do you want to get? According to the code, you didn’t do anything when firstName and lastName are empty. If I misunderstand your question, please correct me.