Hello, oh I think I get it and think it is in the Create a renewal Opportunity step. And I do have flows that failed.
- What is the table and filter criteria being used in the "List Active Customer Line of Business" action? -
statecode eq 0 and Microsoft.Dynamics.CRM.On(PropertyName='gm_nextrenewalperiodstartdate',PropertyValue='@{formatDateTime(utcNow(),'yyy-MM-dd')}')
- When creating the Opportunity (The "Create a renewal Opportunity" step, is anyone specific being listed in the owner field?
/systemusers(@{outputs('Get_the_Account')?['body/_ownerid_value']})
In a failed flow, I found part of a message in the Get the Account step that does identify the ownerid_value and each failed points to an account assigned to "Ventes internes" and that is our sales team.
"_ownerid_value@OData.Community.Display.V1.FormattedValue": "Ventes internes",
"_ownerid_value@Microsoft.Dynamics.CRM.associatednavigationproperty": "ownerid",
"_ownerid_value@Microsoft.Dynamics.CRM.lookuplogicalname": "team",
"_ownerid_value@odata.type": "#Guid",
"_ownerid_value": "c8502f73-09c9-ea11-a812-000d3a3035b8",
part of a screenshot of the Get the Account step:
I found in the Output of the step Create a renewal opportunity this part :
"message": "Entity 'systemuser' With Id = c8502f73-09c9-ea11-a812-000d3a3035b8 Does Not Exist",
So that means this is the problem. I am guessing this isn't easy to change being having a very basic knowledge of Power Automate.
But if you have any information on how I can change this, it would be very much appreciated.
Thanks a lot
Cat