I have a daily scheduled workflow that runs a Laserfiche search and then exports those results to a SQL table that is used as a data source for automated reports. The problem I am running into is when a blank date field is returned in the LF search results. Since the SQL table has field types set as a "date" format and to allow Null values, SQL will insert 1/1/1900 in all date fields that are blank in the Laserfiche metadata.
I know I can set the fields in SQL to varchar but I would like to keep them as date fields if possible. How can I have Laserfiche insert "Null" only if the search result returns a blank date field?
I was thinking I could use an expression on those fields in the Workflow but not sure of the syntax that would replace blank with Null.
Thanks in advance!
Eric