N
The Daily Insight

How do I assign a null value to a date field in Salesforce flow?

Author

Caleb Butler

Updated on April 03, 2026

3 Answers

  1. Create a checkbox called “Follow Up Date To Null Flag”.
  2. In the Flow set the Checkbox to True.
  3. Create a Workflow Rule that Fires when the “Follow Up Date To Null Flag” = TRUE.
  4. Set a field update to set the date field to NULL.

How do I create a date field blank in Salesforce?

  1. java-faq.
  2. date.
  3. format.
  4. date-time.

How do you check a date field is empty or not in Apex?

How to check if the field value is empty in APEX?

  1. Boolean isBlank = record. txt_Field__c == ”;
  2. Boolean isBlank = record. txt_Field__c == null;
  3. Boolean isBlank = record. txt_Field__c. trim() == ”;
  4. Boolean isBlank = record. txt_Field__c. size() == 0;5. Boolean isBlank = record. num_Field__c = ”;

How do I check if a value field is null in Salesforce?

Salesforce: ISBLANK() or ISNULL() To determine if an expression has a value or not, you can use ISBLANK() function in Salesforce. It will return TRUE if it does not and if it contains a value, this function returns FALSE. You can use this function in the formula field, validation rule, and workflow.

IS NULL operator in flow Salesforce?

For a flow condition, use the is null operator to check whether a value is null . If the condition compares two text variables, make sure that their default values are either correctly set to {!$ GlobalConstant. EmptyString} or left blank ( null ).

What is a global constant Salesforce?

In any value or resource drop-down list in the Cloud Flow Designer, you may see a section called GLOBAL CONSTANT. Global constants are system values that, depending on the context of the drop-down list, let you assign EmptyString , True , or False as the value for that field.

What is a blank date?

Sometimes data is incomplete or optional and therefore fields in Analytics tables may be blank. When an expression in Analytics compares a blank date field, the blank date is treated as the minimum system date value 1900-01-01. Whenever you write an expression that compares dates, you must account for this behavior.

Is null and is blank in Salesforce?

ISBLANK determines if an expression has a value then returns TRUE if it does not. ISNULL determines if an expression is null (blank) then returns TRUE if it is. If the expression contains a value, then this function returns FALSE.

Is empty in Salesforce?

isBlank(inputString) : Returns true if the specified String is white space, empty (”), or null; otherwise, returns false. isEmpty(inputString) : Returns true if the specified String is empty (”) or null; otherwise, returns false. So the isEmpty() function is a subset of isBlank() function.

Is Null vs Blank Salesforce?

ISBLANK determines if an expression has a value then returns TRUE if it does not. If an expression contains a value, then this function returns FALSE. ISNULL determines if an expression is null (blank) then returns TRUE if it is.

How do I use blank value in Salesforce?

To give any blank fields a zero value, choose Treat blank fields as zeros. To leave these fields blank, choose Treat blank fields as blanks. One possible scenario where the Blank Field Handling might be configured incorrectly if you notice the formula field displaying blank values when you need it to calculate a value.