Date and Time Add 1 Year to Attribute

Hi Mendix!  i’m trying to make a document control system where the user fills the date for ‘last review’ it automatically adds a year on and displays that value as ‘next review’ im guessing it will be calculated by microflow if so could someone help with the design as i havent done this type of thing before. 
1 answers

Hi Charlie, 


During the save microflow, you can add a change object action and fill the next review date using.

addYear($LastReview, 1)


Here is some documentation:


Here is an example, rather than [%CurrentDateTime%] you can use your Last Review attribute