I currently have a template like this:-
{
"pd_id" : fme:get-attribute("pd_id"),
"name":fme:get-attribute("district_name"),
"code" :fme:get-attribute("district_code")
}
Is it possible to add a rule that says: IF district_name is null then name = fme:get-attribute("pd_id")