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 III
Super User III

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 blogPower Automate Video Tutorials

Helpful resources

Announcements
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (46,149)