Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Unanswered

How to trigger a child record to update the Planning dates by X number of days after the estimated date is updated?

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

How to trigger an Opportunity by changing the estimated close date

Unanswered

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.'.

Image

Image

Image

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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans