Skip to content

redundant date comparison operators in workflow conditions

In workflow conditions that involve date fields:

image

It seems that the options:

  • less than days later = In less than
  • more than days later = In More than

At least it seems so from WorkFlowScheduler::_parseValueForDate (I rearranged the position of the case clauses in order to make the comparison easier):

image

If that is the case we should get rid of them. It makes configuring workflows confusing and error prone.