handlers.global_application_handler
Whenever somebody updates an Application, we check if it's a "Global"-tagged application. If this is the case, we link all "Global"-tagged organizations to that application.
Configuration:
fact_sheet_type: The fact sheet type to be linked, e.g. Organization or UserGroup.
application_type_tag_group: Tag group of the triggering tag
application_tag_name: Name of the triggering tag
organization_type_tag_group: Tag group of the organization tag
organization_tag_name: Tag name of the organization tag
config_template =
{'fact_sheet_type': 'Organization', 'application_type_tag_group': 'Application Type', 'application_tag_name': 'Global', 'organization_type_tag_group': 'Organization Type', 'organization_tag_name': 'Global'}
def
handle(self, event, application, **kwargs):
Called automatically whenever a FactSheetUpdated event comes in via webhook.
Inherited Members
- handlers.eventhandler.EventHandler
- EventHandler
- get_trigger
- get_event_types
- get_fs_types
- get
- all
- lx_client
- data_requirements
- initial_sync_event
- update_with_uniqueness_check
- facet_matches
- is_tag_key
- SUBSCRIPTION_TYPES
- parse_subscription_key
- get_mapped_subscriptions
- get_notification_users
- get_send_email_for_users
- get_email_callback
- get_due_date