Process Definition - How to check for an empty datetime field

I want my Process Definition to check if, when creating a new record or editing an existing record, a user has filled in a datetime field. If they have, the Process will leave the entered date. If they have not, the Process will put in a calculated date based on the Created On datetime.

How can I check whether the field is empty? Is it simply <field> before '2000-01-01 12:00 AM'? Is there a better way?

Parents Reply
  • What about adding a checkbox and use the formula from Andres Lopez to tick the checkbox in case of the date_time field is empty.

    Now use this checkbox in process auth... err now its called "SugarBMP" to set the calculated date in case of the checkbox is ticked.

    (Depending on the scenario you have you may also untick the checkbox afterwards with the same process to avoid the date will be set again on the next record save event)

    Cheers

    Björn Canales Pfisterer

    Technical Support Manager

    provalida GmbH

Children