Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

Getting Business Process Error 'Unable to persist the profile.' on running custom workflow

$
0
0

Hi,

In the application I work we create contact using a custom workflow, on demand basis.

There is an admission form which provide many details, and on running custom workflow contact for that admission is created by taking few fields from the admission.

Custom workflow is working when I run it with System admin role, I tried to run it with different role, which has privileges to Create and Write a contact.

On run of the workflow I started getting this error

as Business Process Error Unable to persist the profile.

In the downloaded log

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=7.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #A58A8640Detail:
<OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
<ErrorCode>-2147220970</ErrorCode>
<ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #A58A8640</Message>
<Timestamp>2017-09-27T16:44:57.8948224Z</Timestamp>
<InnerFault>
<ErrorCode>-2147220891</ErrorCode>
<ErrorDetails xmlns:d3p1="schemas.datacontract.org/.../System.Collections.Generic" />
<Message>Unable to persist the profile.</Message>
<Timestamp>2017-09-27T16:44:57.8948224Z</Timestamp>
<InnerFault i:nil="true" />
<TraceText>

[Microsoft.Crm.ObjectModel: Microsoft.Crm.Extensibility.InternalOperationPlugin]
[46f6cf4c-14ae-4f1e-98a1-eae99a37e95c: ExecuteWorkflowWithInputArguments]
Starting sync workflow 'Create Client On Admission (Profiled)', Id: cfff1532-a1a3-e711-80df-005056a66c67
Entering CustomActivityStep1_step: Run Custom Workflow
Sync workflow 'Create Client On Admission (Profiled)' terminated with error 'Unable to persist the profile.'

</TraceText>
</InnerFault>
<TraceText i:nil="true" />
</OrganizationServiceFault>

I am trying to debug using plugin registration tool, but was not able to do the debugging as it doesn't register any error in the tool. 

Need help in resolving the issue.

CRM is 2015version and is on IFD.


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images