Appian Community and Appian Academy are being upgraded. From July 24–August 3, the Appian Community will be in read-only mode. During this time, the site will be read-only and user registration will be disabled. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!

The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.

todate() function returning wrong result in expression rule

Hi All,

We have just upgraded to Appian 20.4. I am not sure if the issue due to this but facing very strange scenario when using todate() function in an expression.

todate("08/01/2021")<=todate(null)  --> this expression ideally should return false, but instead returning true. It was working as expected earlier.
Please advise.
Thanks and Regards,
Diksha

  Discussion posts and replies are publicly visible

Parents
  • Hi All,

    despite the fact what we would expect as a result out of this expression. I can confirm the behavior: in version 19.4 it renders to 'false' in version 20.4 the expression renders to 'true'.

    I guess we have to evaluate our application code for the cases were a null would be passed into the 'todate' function and check if some decisions or branching is based on that. 

    Would be nice if the Appian Product Team could shed some light on it about their thought process. 

Reply
  • Hi All,

    despite the fact what we would expect as a result out of this expression. I can confirm the behavior: in version 19.4 it renders to 'false' in version 20.4 the expression renders to 'true'.

    I guess we have to evaluate our application code for the cases were a null would be passed into the 'todate' function and check if some decisions or branching is based on that. 

    Would be nice if the Appian Product Team could shed some light on it about their thought process. 

Children