Hi all,
When creating an action to Update a field using Common Data Service (Current Environment), I am trying to add 365 days to a date that is in an existing field. The problem is that when the flow runs, it adds 365 days to the field from today's date, and not the date in the field.
Example - date in field says : 03/03/2020, it should add 365 to that date, not the date it was modified.
The expressions I am using are shown below to assist in clarifying.
addDays(outputs('Get_Subscription_record_on_Invoice')?['body/ec_currentperiodstart'], 365)
addDays(outputs('Get_Subscription_record_on_Invoice')?['body/vin_enddate'],365)
The above expressions seem to be doing what I would expect from - addDays(utcNow(), 365) - instead of adding on the date that is in the field.
Any light would be greatly appreciated!