I have been conducting few code review session for my customer recently. When reviewing Plugins, I have noticed some Plugins Steps are registered to a message, such as Create, but without specifying a Primary Entity. This means such Plugin Step is triggered for all entities (existing end new) record creation. It also means the Plugin code must suit all entities or filter specific entities to operate upon. Unless such Plugin is actually relevant to any Create operation for any entity, this approach...(read more)
↧