Question

Date equal null?

Hi,

I create exclusive gateway (OR) in my process. I am trying to simulate that the parameter sent from the date is empty. I want to check in the gate if the date: it is empty if it wants to fulfill some condition. How to do it?

Like

2 comments

Hello,

You need to add a date/time parameter to business process and live it empty. Then compare your column to this empty parameter in conditional flow to check whether the date was specific or not.

P.S.: date without value is basically "1/1/0001 12:00:00 AM".

Regards,
Oleh

Hello, 

i was create scipt to check what have inside empty DateTime and then i was change my or gateway. [#ExampleDate#]== DateTime.MinValue . "1/1/0001 12:00:00 AM"  is inside MinValue before i was think empty DateTime is DateTime? and is null.

Regards,

Przemek

Log in or register to comment