cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
poweruser0211
New Member

When updating Process Logs - Bad Request

Hi All,

 

I have created a business process flow which is integrated to model driven app in which user need to trigger a power automate flow to send an approval email. When I trigger the flow In order to update the status of the power automate workflow in Business Process Flow(BPF) I'm trying to update the 'Process Logs' Entity as the last action. This all process is working fine for the admin role but when I'm changing the role to normal role and triggering the last step fails i.e (update the record in the process logs status as succeeded )

 

Error In the Workflow:

 

--batchresponse_82c740ed-78a6-49a8-ae6c-71d36cd6f39c
Content-Type: application/http
Content-Transfer-Encoding: binary

HTTP/1.1 400 Bad Request
REQ_ID: 7b7a6589-53d7-4ce4-b4be-e31a13e5d2e8
Content-Type: application/json; odata.metadata=minimal
OData-Version: 4.0

{"error":{"code":"0x80040530","message":"Unable to retrieve attribute=ownerid for entityLogicalName=asyncoperation. Entity has Attribute Count=2. AttributeNames= status, workflowlogid"}}
--batchresponse_82c740ed-78a6-49a8-ae6c-71d36cd6f39c--

 

 

Could anyone please help me or provide any work around?

 

Thank you!

1 REPLY 1
abm
Super User
Super User

Hi

 

Looks like its a permission issue for me. So for updating the process logs can't you use an integration account?

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,076)