Check if date time field is empty using Nintex

Unlike string variables that can be compared with null, Nintex doesn’t provides enough conditions to check if a date field is empty or not.

Date1

So, when there is a situation when you need to check if the date field contains a date or not, you are left clueless.

So, let us have a look how to tackle this.

Insert an action ‘Convert Value’ from Operations category and configure it as below

Date2

Input the value 1/1/0001

and save the result in workflow variable ‘dtEmptyDate’ which is a date time variable (default date blank).

Once done, insert the condition action and compare your date field with this variable.

Date3

This will return the result yes or no depending if the due date is not empty or empty. Now you can put your logic depending on the output.

So, the flow will be

Date4

Happy Nintexing!!

Advertisements

3 thoughts on “Check if date time field is empty using Nintex

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s