Programmatically set the value of input parameter (String type) in Data Function as NA_character_.
Use SetInput() method in DataFunctionInputCollection to set execMode parameter (refer to .png) before executing Data Function.
Use string equivalent of Binary/Boolean - e.g., "1"/"0" or "True"/"False", but not elegant.