You are viewing limited content. For full access, please sign in.

Question

Question

How to handle a possible null date value when saving to table via a workflow

asked on April 24, 2024 Show version history

Hi :)

Re: Laserfiche Cloud Workflow

I have a workflow with a Run Rule activity which saves data from a form into a lookup table.  There is a date field "Date_To" which can be null or contain a date.

- If there is a date value for Date_To, the workflow runs sucessfully.
- If it is null, the workflow errors with "Can't cast value to type System.DateTime."  

I tried to add the following to allow for the null but I still get the same error (it works for other data types) :


How should I go about handling a possible null date value?

Thank you.

0 0

Replies

replied on May 22, 2024

Hello,

I am facing similar issue, have you found a solution?

 

Thank you.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.