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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Call Routing Rule Via Plugin

(0) ShareShare
ReportReport
Posted on by 7,042

Hi Guys,

I have requirement here, when a case is created, i need to call my routing rule set via plugin (customer don't want to click again "Save and Route").

Please help me how can i achieve this

Thanks in advance

*This post is locked for comments

I have the same question (0)
  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello Saravanakumar,

    You should use ApplyRoutingRule message - msdn.microsoft.com/.../microsoft.crm.sdk.messages.applyroutingrulerequest.aspx

  • Verified answer
    ashlega Profile Picture
    34,477 on at

    Hi,

     have you tried ApplyRoutingRuleRequest?

    msdn.microsoft.com/.../microsoft.crm.sdk.messages.applyroutingrulerequest.aspx

  • Verified answer
    Emre GULCAN Profile Picture
    2,379 on at

    Hi,

    You can do it easly with XrmLibrary

    IncidentHelper helper = new IncidentHelper(_organizationService);
    helper.ApplyRoute(Guid.Parse("incident record Id"));


    or you can use ApplyRoutingRuleRequest  like this

    ApplyRoutingRuleRequest request = new ApplyRoutingRuleRequest()
    {
       Target = new EntityReference("incident", Guid.Parse("incident record Id"))
    };
    
    var response = (ApplyRoutingRuleResponse)_organizationService.Execute(request);


  • Suggested answer
    Nishant Rana Profile Picture
    11,325 Microsoft Employee on at

    This sample will help you 

    https://docs.microsoft.com/en-us/dynamics365/customer-service/trigger-routing-non-case-records

    You could also use - msdyn_ApplyRoutingRuleEntityRecord Action

  • garyware1299 Profile Picture
    5 on at

    I see you have already been told the answer, but for call analytics software I use https://dialics.com/analytics/ . Good service, better than others

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans