Skip to main content

Conditions

Conditions for invoking addons

In order to check for below conditions:-

To validate whether an addon should be invoked for an asset, the following conditions are checked:-

  • The event_type sent in message matches atleast one of the event types in User Addon Settings event-hooks and the event type is enabled
  • The asset's content type matches atleast one of the content_types specified in event-hooks
  • If force_processing is set to true, the addon is invoked irrespective of whether it has already been processed for the asset
  • If force_processing is not set or is false, the addon is invoked only if it has NOT already been processed for the asset
  • If no addons are specified, all the addons enabled in user settings are invoked for the asset provided the above conditions are satisfied