web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Find workflow based on owning user and calling user

(0) ShareShare
ReportReport
Posted on by

Hi everyone!

I am testing a scenario of qualifying a lead with security roles. I am trying to decode the error but am not able to.  Is there any way on how I can find a workflow based on its owner id and calling user id?

Please help me out with this. Here is the error log downloaded.

<s:Envelope xmlns:s="schemas.xmlsoap.org/.../envelope"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring xml:lang="en-US">SecLib::AccessCheckEx failed. Returned hr = -2147187962, ObjectID: 6af9456a-2628-e811-8117-e0071b66cfa1, OwnerId: 31ddb544-b918-e711-810a-e0071b69ffe1,  OwnerIdType: 8 and CallingUser: 5e39b8b0-1af2-e611-80f6-e0071b661f01. ObjectTypeCode: 1, objectBusinessUnitId: fee1b889-f4ea-e611-8103-e0071b69ffe1, AccessRights: WriteAccess </faultstring><detail><OrganizationServiceFault xmlns="schemas.microsoft.com/.../Contracts" xmlns:i="www.w3.org/.../XMLSchema-instance"><ActivityId>7eb3fe5a-9584-4908-99a0-834f258b92a2</ActivityId><ErrorCode>-2147187962</ErrorCode><ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic"/><Message>SecLib::AccessCheckEx failed. Returned hr = -2147187962, ObjectID: 6af9456a-2628-e811-8117-e0071b66cfa1, OwnerId: 31ddb544-b918-e711-810a-e0071b69ffe1,  OwnerIdType: 8 and CallingUser: 5e39b8b0-1af2-e611-80f6-e0071b661f01. ObjectTypeCode: 1, objectBusinessUnitId: fee1b889-f4ea-e611-8103-e0071b69ffe1, AccessRights: WriteAccess </Message><Timestamp>2018-03-15T07:56:59.3983526Z</Timestamp><ExceptionRetriable>false</ExceptionRetriable><ExceptionSource i:nil="true"/><InnerFault><ActivityId>7eb3fe5a-9584-4908-99a0-834f258b92a2</ActivityId><ErrorCode>-2147187962</ErrorCode><ErrorDetails xmlns:a="schemas.datacontract.org/.../System.Collections.Generic"/><Message>SecLib::AccessCheckEx failed. Returned hr = -2147187962, ObjectID: 6af9456a-2628-e811-8117-e0071b66cfa1, OwnerId: 31ddb544-b918-e711-810a-e0071b69ffe1,  OwnerIdType: 8 and CallingUser: 5e39b8b0-1af2-e611-80f6-e0071b661f01. ObjectTypeCode: 1, objectBusinessUnitId: fee1b889-f4ea-e611-8103-e0071b69ffe1, AccessRights: WriteAccess </Message><Timestamp>2018-03-15T07:56:59.3983526Z</Timestamp><ExceptionRetriable>false</ExceptionRetriable><ExceptionSource i:nil="true"/><InnerFault i:nil="true"/><OriginalException i:nil="true"/><TraceText i:nil="true"/></InnerFault><OriginalException i:nil="true"/><TraceText i:nil="true"/></OrganizationServiceFault></detail></s:Fault></s:Body></s:Envelope>

Thanks in Advance!

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mahendar Pal Profile Picture
    45,095 on at

    Hi,

    you can simply export all you workflow record to excel (state worksheet) and unhide GUID column and search workflow id from your error there

  • Suggested answer
    Shahbaaz Ansari Profile Picture
    6,211 on at

    Hi Nikki,

    Make sure that user has enough rights to qualify lead also make sure user is having write permission in security role for lead entity

    Thanks,

    Shahbaaz

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans