resolve() Case Event in plugin

How can I handle resolve() Case action  in plug-in?
1)  
http://dmcrm.blogspot.com/2008/05/plugins-triggered-off-setstate-message.html
This problem bit me too, didn’t think I’d have to enable both triggers at the same time (I’d tried them both on their own).
Anyway, I have another special case to add (pun intended).
If you ‘close’ an incident (case), it will fire the ‘Close’ trigger, not the ‘SetState’ trigger.
If you ‘reactivate’ a closed case, it fires the ‘SetState’ trigger.
If you change the ‘Status Reason’ (a.k.a. StatusCode), but don’t close or cancel the case (i.e, it’s still open), then it fires the ‘Update’ trigger.
‘Canceling’ a case seems to fire the ‘SetState’ trigger as well (even though there’s a ‘Cancel’ trigger lurking in there).
 2)
 http://crmdude.wordpress.com/2009/10/02/setstatedynamicentity-on-incident-entity/
The SetStateDynamicEntity message is only triggered when an Incident is re-activated after being closed.
 3)
Informative post –

Closing An Incident (Case) That Has Open Activities

http://blogs.msdn.com/ukcrm/archive/2009/07/03/closing-an-incident-case-that-has-open-activities.aspx

(different variants are described)

4)

 Jscript with resolve() function:

Update Case record status from Active to Resolved in MS CRM 4.0

http://www.keyongtech.com/5498456-update-case-record-status-from

5)  CRM 4 case Actions -> Resolve Case

c# code example
Advertisements

1 Comment (+add yours?)

  1. Trackback: Plugin for Resolve Case action against Incident Entity. (CRM 4.0) « Nishant Rana's Weblog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: