Answered

Customize Date Default Value

I would like to customize the default value of a date field to Now + 2, for e.g. if the date is 09/22/2017, the default value should be 09/24/2017. How to construct the expression?

Thanks,

Edeline

Comments (1)

photo
1

Dear Edeline,

In the expression module define the minimum value allowed (2 days in advance) according to the current date.

The expression in this example would be:

  1. var Today=DateTime.Today;
  2. var Max=Today.AddDays(2)



For further information: http://help.bizagi.com/bpm-suite/en/index.html?minimum_and_maximum_values.htm


Regards