dynamics crm - Crm 2011 Plugin doesn't trigger on Message "RemoveMember" -


i've built custom plugin crm 2011. basically, same plug-in has been deployed in 2 different environments: test , pro. these environments twins. same entities, same configurations etc..

the plug-in, triggers on update of specific boolean field. on true value, triggers , add contact list. so, same logic, on same field set on false, triggers , remove contact list. now, on "test environments", triggers on both situations. on "pro environments" , when boolean field it's set on false, doesn't trigger!

i discard supposition of logic bug implementation. reason works on the first environment. above, doesn't write log in case. , makes me more convinced doesn't trigger @ all.

does knows , problem?

first, make absolutely sure theory correct. throw exception right @ top of plugin, , see if exception pop-up in crm on both true/false. if do, plugin is firing on both true/false update , there wrong code - can't imagine since works in dev, @ least you've proven isn't crm plugin infrastructure's fault.

if don't pop-up exception false scenario, other possible answer crm's plugin infrastructure doesn't think field should updated. when screen refreshes after update false, field still show false or go true? possible "cancel" field update removing field list of entity gets passed pre-operation plugin - possible there other plugins execute before 1 , maybe cancel field update?

last thing can think of: saying update mean create? if boolean field's default value set false in prod not in dev, when create entity, field won't included in field update list (and not fire plugin) if set false because system knows default value use on create false.


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -