I want to set created_by field of sugarcrm as modified_field, only if the created_by field is null i.e first check if the created_by field is null and if it is, then insert the value of modified_by field in created_by field.

Can anyone help me how to do this?

Thanks a lot