NinoEmma
NinoEmma

Reputation: 127

Plugin and dialog together

If I use a dialog to create an instance of an entity, will it fire the plugin registered to that message (i.e. Create on EntityA)?

If not, how can I link that plugin to that message?

Upvotes: 1

Views: 262

Answers (2)

Konrad Viltersten
Konrad Viltersten

Reputation: 39308

You're safe to use the plugin. It will catch the dispatched message as long as you've registered it correctly.

The plugin will, in fact, react to the following events.

  • Creation of an instance (a record) by the user from the GUI.
  • Creation of an instance by a workflow.
  • Creation of an instance by a dialog.
  • Creation of an instance by a code from an extern program.
  • Creation of an instance by... anything.

Upvotes: 1

James Wood
James Wood

Reputation: 17562

Yes, the plugin will always fire regardless of the source of the message.

Upvotes: 3

Related Questions