Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

After upgrading from CRM 2016 to CRM 365 Business Process Flow is disappeared

Posted on by 45

Hello,

We recently upgrade CRM 2015 on-premise to CRM 365 on-premise. While upgrading, we monitor the business process flow is still working when upgrading to CRM 2016. but it disappeared after upgrading to CRM 365 (December 2016 Update for Dynamics 365), the issue is still there even after upgrading to update 2.3.

Method 1.  it doesn't help when we try this link by deactivate and re-activate BPF: http://www.leicht-bewoelkt.de/bug-in-bpf-with-dec-update

Method 2.  it also doesn't help when we try this link (the solution provided by Microsoft): https://jiripesik.com/2017/01/07/business-process-flow-disappears-after-december-update-in-microsoft-dynamics-crm/

For method 1: after deactivate and re-activate BPF, reload the page, then we get the follow error message, which preventing us to open the form. click OK, it close the form, go back to list view.

2018_2D00_12_2D00_12_5F00_11_2D00_18_2D00_12.png

Then we found the following warning message in event viewer:

Event code: 3005 
Event message: An unhandled exception has occurred. 
Event time: 12/12/2018 11:25:11 AM 
Event time (UTC): 12/12/2018 6:25:11 PM 
Event ID: d59a823ccab94e20b835b6f1b4d9a1ab 
Event sequence: 3209 
Event occurrence: 13 
Event detail code: 0 
 
Application information: 
    Application domain: /LM/W3SVC/1/ROOT-1-131891079180895007 
    Trust level: Full 
    Application Virtual Path: / 
    Application Path: C:\Program Files\Microsoft Dynamics CRM\CRMWeb\ 
    Machine name: DEV-CRM365-01 
 
Process information: 
    Process ID: 5824 
    Process name: w3wp.exe 
    Account name: LEGALAID\SVC_DEV_CRM365_AS 
 
Exception information: 
    Exception type: NullReferenceException 
    Exception message: Object reference not set to an instance of an object.
   at Microsoft.Crm.Platform.Server.SelectionAlgorithmService.<RetrieveDefaultProcessInstanceFallback>b__4(IBusinessEntity instance)
   at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)
   at System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count)
   at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__1.MoveNext()
   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   at Microsoft.Crm.Platform.Server.SelectionAlgorithmService.RetrieveDefaultProcessInstance(Guid targetEntityId, Int32 targetEntityTypeCode, String targetEntityLogicalName, Boolean moreProcessData, IExecutionContext executionContext, Boolean allowPinProcess, Boolean mruFetchOnly)
   at Microsoft.Crm.Application.Components.Application.ProcessControlProcessCacheUtils.GetPreferredProcessId(Int32 entityTypeCode, Guid parentEntityId, Boolean& skipFallback)
   at Microsoft.Crm.Application.Components.Application.ProcessControlProcessCacheUtils.GetProcess(Guid parentEntityId, Int32 entityTypeCode, Guid appModuleId, Boolean fallbackToDefault)
   at Microsoft.Crm.Application.InlineEdit.ReadFormDataBuilder.GetProcessIdForEntity(Guid entityId, Int32 entityTypeCode)
   at Microsoft.Crm.Application.InlineEdit.ReadFormDataBuilder..ctor(String recordId, String entityTypeCode, Guid formId, FormFactor formFactor)
   at Microsoft.Crm.Application.Pages.Form.FormDataPage.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 
 
Request information: 
    Request URL: dev-crm365-01/.../Data.aspx;_CreateFromType=&_gridType=10095&counter=1544639111418&etc=10095&extraqs=?_gridType=10095&etc=10095&id=13b17E641B7-1476-E711-8103-00155D3BFBAD13d&opened=grid&process=&processts=763119335&rskey=13b8555CC6D-A924-424F-A7A8-F9CD10014EE913d&formid=ff3a3db3-8296-4031-bed4-6ed725cd92a9&id={17E641B7-1476-E711-8103-00155D3BFBAD}&oid=17e641b7-1476-e711-8103-00155d3bfbad&opened=grid&pagemode=iframe&pagetype=entityrecord&process=&processts=763119335&rskey={8555CC6D-A924-424F-A7A8-F9CD10014EE9} 
    Request path: /Integration/form/Data.aspx 
    User host address: 192.168.207.109 
    User: LEGALAID\jhao 
    Is authenticated: True 
    Authentication Type: Negotiate 
    Thread account name: LEGALAID\SVC_DEV_CRM365_AS 
 
Thread information: 
    Thread ID: 98 
    Thread account name: LEGALAID\SVC_DEV_CRM365_AS 
    Is impersonating: False 
    Stack trace:    at Microsoft.Crm.Platform.Server.SelectionAlgorithmService.<RetrieveDefaultProcessInstanceFallback>b__4(IBusinessEntity instance)
   at System.Linq.EnumerableSorter`2.ComputeKeys(TElement[] elements, Int32 count)
   at System.Linq.EnumerableSorter`1.Sort(TElement[] elements, Int32 count)
   at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__1.MoveNext()
   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   at Microsoft.Crm.Platform.Server.SelectionAlgorithmService.RetrieveDefaultProcessInstance(Guid targetEntityId, Int32 targetEntityTypeCode, String targetEntityLogicalName, Boolean moreProcessData, IExecutionContext executionContext, Boolean allowPinProcess, Boolean mruFetchOnly)
   at Microsoft.Crm.Application.Components.Application.ProcessControlProcessCacheUtils.GetPreferredProcessId(Int32 entityTypeCode, Guid parentEntityId, Boolean& skipFallback)
   at Microsoft.Crm.Application.Components.Application.ProcessControlProcessCacheUtils.GetProcess(Guid parentEntityId, Int32 entityTypeCode, Guid appModuleId, Boolean fallbackToDefault)
   at Microsoft.Crm.Application.InlineEdit.ReadFormDataBuilder.GetProcessIdForEntity(Guid entityId, Int32 entityTypeCode)
   at Microsoft.Crm.Application.InlineEdit.ReadFormDataBuilder..ctor(String recordId, String entityTypeCode, Guid formId, FormFactor formFactor)
   at Microsoft.Crm.Application.Pages.Form.FormDataPage.Render(HtmlTextWriter writer)
   at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
 
 
Custom event details: 


Can anyone help us this?

Thanks.

*This post is locked for comments

  • rowdy146 Profile Picture
    rowdy146 125 on at
    RE: After upgrading from CRM 2016 to CRM 365 Business Process Flow is disappeared

    Hi gents,

    any updates here?
    Recently updated from 8.1.1 to 8.2.3 encountering the same issue :-(

  • Suggested answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: After upgrading from CRM 2016 to CRM 365 Business Process Flow is disappeared

    Hi,

    Will suggest you to raise a support case to Microsoft.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans