handlers.conditionally_create_todo_handler
Whenever all conditions are fulfilled, we create a to-do.
Configuration:
condition: Code-based condition, only execute if it returns a True-like value.
config_template =
{'fs_types': ['Application'], 'todo_title': 'Title', 'todo_description': 'Description', 'todo_roles': 'System Owner', 'recreate_todo': False, 'condition': 'fs'}
def
handle(self, event, fs, **kwargs):
Called automatically whenever a matching 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