cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LambellaJules
Regular Visitor

Automatically close opportunities as Lost based on a trigger in Dynamics 3665

Hi all

 

I need to bulk update open opportunities based on certain criteria once a week.  I've got the trigger sorted out and the List Rows is based on a simple fetchxml I downloaded from CRM.

 

I've tried following other suggestions out there that say next step should be Add A Row, table = Opportunity Close Activity, where I add the opportunity guid from list rows and set the status and status reason.  

 

It falls over on testing with this message at the Apply to Each stage

{
  "error": {
    "code""0x0",
    "message""Resource not found for the segment '617beb38-2932-42d7-8274-832e2569d035'."
  }
}
I checked the opportunity concerned and it's the correct guid so what am I doing wrong?
 
Many thanks in advance.
Jules
1 ACCEPTED SOLUTION

Accepted Solutions
LambellaJules
Regular Visitor

Hello again

Found the solution - on the 'add a row' element, instead of adding the Opportunity ID into the required field I added Odata ID.  Worked a dream.

Cheers

Jules

View solution in original post

1 REPLY 1
LambellaJules
Regular Visitor

Hello again

Found the solution - on the 'add a row' element, instead of adding the Opportunity ID into the required field I added Odata ID.  Worked a dream.

Cheers

Jules

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,104)