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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

Script Error on Dynamics 365 if creating a queue

(0) ShareShare
ReportReport
Posted on by

Hi guys 

I tried to create a new queue with an email adress, if I create on "record creation and update rules" this is what I will get: 

"One of the scripts for this record has caused an error. For more details, download the log file.
Cannot read property 'JSTypes' of undefinedSession Id: 08bae24c-f3f2-4d54-a7bb-50fdccfae30aCorrelation Id: 1b67dccf-3faa-4bcd-abaf-6aac860fa33d
Event Name: onloadWeb Resource Name: ConvertRule_main_system_library.js
Solution Name: SystemPublisher Name: MicrosoftCorporation
Time: Thu Dec 03 2020 14:59:26 GMT+0100 (Mitteleuropäische Normalzeit)Download Log File"

5428.Dynamics-365-.JPG
I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    HI Dominic86,

    Are you have created queue in the queue entity with email address?

    pastedimage1607071126957v2.png

    If not, you can refer following link to create queue with email address:

    https://d365demystified.com/2020/01/15/create-a-support-queue-in-dynamics-365-crm/

    then you can use the queue in the ‘record creation and update rules’ form.

    Maybe you can use original old interface to set it if the new form you can’t work.

    pastedimage1607071150525v3.png

    Go settings > Service management > Automatic Record Creation and Update Rules.

    https://carldesouza.com/dynamics-365-record-creation-update-rules-email-case/

    Regards,

    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

  • Suggested answer
    Anks27 Profile Picture
    1,085 on at

    Hello,

    From the error description it seems that error in your Js code, you are trying to access ‘JsTypes’ property of an object which is undefined.

    Can you share your code to further investigate what the issue is?

    Signed, Sealed and Delivered.

    Don't forget to help the community by Verifying the answer and Like it if your question has been answered. It will let others know that the topic has verified answer.

     

    Thanks & Regards,

    Ankit Shah(MCT-Microsoft Certified Trainer)

     

    Follow/Connect 101 on below

    LinkedIn:-   https://linkedin.com/in/dynamicpower101/

    Twitter:-     https://twitter.com/Dynamicpower101

    Facebook:- https://facebook.com/DynamicPower101/

    Telegram:- https://t.me/dynamicpower101

    Medium:-   https://medium.com/dynamicpower101

  • Community Member Profile Picture
    on at

    Hello Ankit,

    Well the Code is in the first message I wrote about the Issue.

    I access the Queue with the advanced settings and then go to queue and then i created the new queue. if I want to click on the create rule and update rules it opens a new window with a new layout and showing the error message of the script error.

  • Community Member Profile Picture
    on at

    Hello Leah Ju,

    Thank you for your answer. Well I did it like this on my test enviroment and dev enviroment, and It worked smoothly.

    on my productive enviroment it didn't worked so well -

    I went to advanced settings, queue and created a new queue - first i created the dedicated email address and approved it.

    then I wanted to create the automatic record creation and update rules but it failed due to the script error because dynamics opened a new window with the same layout as in the normal enviroment but not as in the advanced settings.

    I have no idea why this happened.

  • Renesh Profile Picture
    5 on at

    Hello Team,

    I am experiencing the same issue in my D365 Environment. Is there any known solution for this.

    Quick response would be little helpful.

    Thanks in Advance!!!

  • Suggested answer
    CRMJetty Profile Picture
    3,512 on at

    Hello,

    Pls  refer this thread,

     https://community.dynamics.com/365/customerservice/f/dynamics-365-for-customer-service-forum/400783/issues-with-loading-record-creation-and-update-rule-form 

    I hope it helps,

    Thanks.

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
NeerajPawar Profile Picture

NeerajPawar 31

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 19 Super User 2026 Season 1

#3
11manish Profile Picture

11manish 16

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans