+ Start a Discussion
Doug Beltowski XDoug Beltowski X 

Using Visual Flow set a Date field to Null / Blank

I can't figure out how to do this.  There seems to be no global constant for blank/null associated with Date fields, and if I simply leave the assignment box empty it doesn't do anything.
Derhyk Doggett -Derhyk Doggett -
Can you use $GlobalConstant.Null or simply null?
Doug Beltowski XDoug Beltowski X
No option for null  These are the only options I've given to assign the Date field.  
Derhyk Doggett -Derhyk Doggett -

Hi Doug,
I think I have a solution for you. Unsure if you've already setup an sObject variable and formula.
What I did to achieve this is made an sObject variable Account and a formula to pull the CreatedDate. (Not the best example as this will never be null, unlike your scenerio - but should work the same regardless).
After this I added a Decision and then used the formula 'AccountCreatedDate" formula as the resource and used the isnull operator.
Image below.

User-added image

-derhyk