Skip to main content
Community site session details

Community site session details

Session Id :
Customer Service forum

service.Create Sometimes takes abruptly longer to execute

(0) ShareShare
ReportReport
Posted on by

Hi All,

I have a plugin to create a case synchronously with certain attributes. On an average, the service.create call takes around ~2-3 Seconds to execute. But few times it takes 10-20 seconds to execute the same call with similar number of attributes.

Has anyone experienced this behavior before? Please suggest in case you've any thoughts on this problem.

Thanks,

Meet

Categories:
  • Suggested answer
    Arun Vinoth Profile Picture
    11,615 Moderator on at
    RE: service.Create Sometimes takes abruptly longer to execute

    It depends totally on your implementation.

    Check if you have any synchronous plugin on create of case which may have some logic dependent factors that takes time.

    Any team assignment/queue tracking/sla/entitlements kind of functionalities implemented, then monitor them.

    Any real-time workflow for sending email as first response can be checked too.

  • Suggested answer
    jlattimer Profile Picture
    24,562 on at
    RE: service.Create Sometimes takes abruptly longer to execute

    If you're making changes to the plug-in it will usually take longer to execute the first time than others when it isn't cached. If this is being executed asynchronously the execution start depends on available resources and could get delayed some before starting. 

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

News and Announcements

Now Available: 2025 Release Wave 2

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Customer Service

Featured topics

Product updates

Dynamics 365 release plans