diff --git a/bitbylaw/steps/advoware_cal_sync/calendar_sync_api_step.py b/bitbylaw/steps/advoware_cal_sync/calendar_sync_api_step.py index 80053af7..30865e67 100644 --- a/bitbylaw/steps/advoware_cal_sync/calendar_sync_api_step.py +++ b/bitbylaw/steps/advoware_cal_sync/calendar_sync_api_step.py @@ -8,7 +8,8 @@ config = { 'description': 'API-Endpunkt zum manuellen Auslösen des Calendar Sync für einen Mitarbeiter', 'path': '/advoware/calendar/sync', 'method': 'POST', - 'emits': ['calendar.sync.employee'] + 'emits': ['calendar.sync.employee'], + 'flows': ['advoware'] } async def handler(req, context): diff --git a/bitbylaw/steps/advoware_cal_sync/calendar_sync_cron_step.py b/bitbylaw/steps/advoware_cal_sync/calendar_sync_cron_step.py index bdb26f4e..c6a6009a 100644 --- a/bitbylaw/steps/advoware_cal_sync/calendar_sync_cron_step.py +++ b/bitbylaw/steps/advoware_cal_sync/calendar_sync_cron_step.py @@ -10,7 +10,8 @@ config = { 'name': 'Calendar Sync Cron Job', 'description': 'Führt den Calendar Sync alle 15 Minuten automatisch aus', 'cron': '*/15 * * * *', # Alle 15 Minuten - 'emits': ['calendar.sync.employee'] + 'emits': ['calendar.sync.employee'], + 'flows': ['advoware'] } async def get_advoware_employees(advoware):