Example, check if the reminder date field is empty, if it is then set the value to Current Date. If the date field is not empty then set the value to the existing value

if(normalize-space(//DOCCON_CONAPPROVAL_REMINDER_DATE/text()) = '') then (current-date()) else //DOCCON_CONAPPROVAL_REMINDER_DATE