Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Restricting Resolve and Cancellation of case

Posted on by 100

Hi ,

I want to restrict the resolve and cancellation of case based on some conditions . I thought of writing a plugin on SetState and setStateDynamicEntity message of case entity. Below is my observation:-

1) When i am resolving or cancelling the case , plugin is not getting triggered.

2) When i am reactivating a case plugin is getting is getting triggered.

 Could someone help me to understand why plugin is not getting triggered in 1st case.

And also when i registered my plugin on update message of case entity, the it is triggering in all sceaniros (resolve , cancel , reactivation) 

*This post is locked for comments

  • Suggested answer
    Arun Vinoth Profile Picture
    Arun Vinoth 11,613 on at
    RE: Restricting Resolve and Cancellation of case

    Special messages like SetState were deprecated, use Update instead.

    docs.microsoft.com/.../perform-specialized-operations-using-update

    Also read this: nishantrana.me/.../use-close-message-when-we-resolve-an-incident-case-in-crm

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans