I have a date only property, In that property I want to display the current date + 1 year as the default value How can I achieve that ? (I want to add another year to the current date and display it as the default value in the property. More like expire date )
Current date - 08/31/2022
Date want to display - 08/31/2023
***Edited by Moderator Marije to add Capability tags***
You can set it in the DateTime control (as below). This will ensure to set the property only from a particular flow action in UI and not set/save the property value in background before processing the assignment.
Thank you everyone for replying, I found the solution.
First you have to open the cell properties and then click the cog mark in front of the default value field. And then select the DateTime as the library and select the addCalendar as the function. After that fill the parameters using positive or negative number based on your need (Like in the bottom of the below Image) . After that click insert button to insert the parameter values. (Using positive number you can display future dates and using negative numbers you can display past dates as for default values) .
I want to display the current date + 1 year as the default value, so this is what I used -