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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (3,395)