locked
CRM 4.0 Route and Handle Message not getting triggered in CRM 2011 Environment RRS feed

  • Question

  • HI All

    We have migrated some plugins which is written in CRM 4.0 in to CRM 2011 Environment by Using CRM 4.0 Plugin registration tool which is pointed to 2007 web Services. Whereas “Handle” & “Route” messages not getting triggered in CRM 2011 environment even though it says that will be supported with 2007 Services.

    Please kindly help us on this regards. (Our next step would be converting the plugin to CRM 2011 and handle with new Messages whereas we need a quick fix for the time being.

    Tuesday, July 2, 2013 1:32 AM

Answers

All replies

  • I think these message are no longer supported at all, even through the 2007 endpoint (see http://msdn.microsoft.com/en-us/library/gg309493.aspx )

    For CRM 2011, I think you'd mostly use the AddToQueue message instead


    Microsoft CRM MVP - http://mscrmuk.blogspot.com/ http://www.excitation.co.uk

    • Marked as answer by Prabath Randy Wednesday, July 17, 2013 11:42 PM
    Tuesday, July 2, 2013 8:13 AM
    Moderator
  • Hi 

    Thank you very much for the Reply , Yes we need to go with the New message As follows 

                OptionSetValue ObjecType = (OptionSetValue)context.InputParameters["objecttypecode"];

                if (ObjecType.Value == 112) // incident
                {

                    if (postImage.Contains("WorkerId"))
                    {
                        //TODO: Handle Request.
                    }
                    else
                    {
       //TODO: Route Request

                    }
                 }

    Above code is not refined one

    Cheers!!! 

    • Proposed as answer by akash.randeniya Monday, July 8, 2013 5:15 AM
    • Unproposed as answer by Prabath Randy Wednesday, July 17, 2013 11:38 PM
    Monday, July 8, 2013 5:14 AM
  • Hi 

    please look in to this http://crmprojection.blogspot.com.au/2013/07/how-to-convert-handle-and-route.html

    Cheers!!!

    Also Please ignore above code if some one need I can provide Correct and better code accordingly.



    • Marked as answer by Prabath Randy Wednesday, July 17, 2013 11:40 PM
    • Edited by Prabath Randy Wednesday, July 17, 2013 11:41 PM Comment
    Wednesday, July 17, 2013 11:39 PM