How to trigger an Opportunity by changing the estimated close date
New problems arise and I can't figure out how to fix it.
The Planning dates don't the line items get updated as the estimated date gets updated too. Now, I want to add days to the planning dates of the child record as the estimated date gets modified.
I have used the add days format and I keep getting the error message. I even added the variable and that didn't help.
Error message: Unable to process template language expressions in action 'Update_a_record_(deprecated)' inputs at line '1' and column '22072': 'In function 'addDays', the value provided for date time string '25ub(inP(e25Pi27aPeclo25e11aPe,1lir_previou25clo25e11aPe))' was not valid. The datetime string must match ISO 8601 format.'.
Date format: formatDateTime(addDays(utcNow(outputs('Compose')),5),'MM-DD-YYYY')
I used this: addDays(formatdateTime.utcNow()(@{items('Apply_to_each')?['abc_planningdate']})),outputs('Compose')
Any recommendation will be appreciated.
Thanks