Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Unanswered

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

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

Categories:

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

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,552 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,552 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans