Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Unexpected Error during load of Sales Acceleration

(0) ShareShare
ReportReport
Posted on by 2
Hi everyone,
 
Since yesterday afternoon, we get an error when opening the sales accelerator in Dynamics 365 online. The Worklist shows up, but the selection of a record from the worklist results in an /Unexpected Error/ on the form. The form does not show up. There is also no error dialog. 
I have not updated any solution. So I think it is unlikely that the error is caused by a customization.
 
From the console, I could identify two possible error sources:
  1.  /A record with the same value for the unique key of workqueuestatus (msdyn_wqstateuniquekey) already exists./
  2.  The second error occurs in an app.js script when a custom business rule is initialized
 
//
 
Xrm.Page.data = null and hence the call to entity property leads to an error.
 
I would appreciate any help or hint, you can give me.
 
Thanks, Alex
 
  • Haig Liu Profile Picture
    Haig Liu Microsoft Employee on at
    Unexpected Error during load of Sales Acceleration
    Hi Alex,
     
    If the error is caused by an OOB script, it is recommended that you raise a support ticket and provide the exact time when the error occurred,
    and Microsoft's technical support engineers can look up this error record and its description in the background.
     
    I hope this helps, but please let me know if you need anything else or if you have any other questions.
    thanks,
    Haig Liu
  • Unexpected Error during load of Sales Acceleration
    Hi Haig,
     
    thank you for your answer.
    1.  The items in the work list are actually manually added activities not connected to a sequence. Secondly, I do not use a workflow in in respect to sequences.
    2.  The error occurs in an OOB Microsoft Script. I do not have any influence on that. 
     
    Further I can tell that the "Unexptected Error" only occurs on activities connected to accounts and leads, that is when the corresponding form tries to load. Opportunities and contacts are not affected and their records are successfully loaded.
    There is a separate business rule associated with the account and lead form and no business rule in contacts and opportunities. Because the error happens in a function to initialize business rules, it might have something to do with them, although the business rule validations were successful and there is no such error when loading the records regularly outside the sales accelerator.
     
    Regards,
    Alex
  • Suggested answer
    Haig Liu Profile Picture
    Haig Liu Microsoft Employee on at
    Unexpected Error during load of Sales Acceleration
    Hi,
     
    1. l thought of a possibility:
    With OOB the sequence can't be connected to a lead twice at the same time, unless the last work list has been completed.
    Meanwhile, we can use workflows to connect leads to sequences, and the error you are experiencing could be because the same lead is connected to multiple sequences or connected to the same sequence twice.
     
    2. Xrm.Page.data is best placed in the Onload event; also, please see this thread:
     
    I hope this helps, but please let me know if you need anything else or if you have any other questions.
    thanks,
    Haig Liu

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,605 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans