Update flow names for Advoware and VMH steps to improve clarity and organization

This commit is contained in:
bsiggel
2026-03-01 23:28:29 +00:00
parent dc586385df
commit 721339ca9b
18 changed files with 30 additions and 17 deletions

View File

@@ -25,7 +25,7 @@ from services.advoware_service import AdvowareService
config = {
'name': 'Calendar Sync All Step',
'description': 'Receives sync-all event and emits individual events for oldest employees',
'flows': ['advoware'],
'flows': ['advoware-calendar-sync'],
'triggers': [
queue('calendar_sync_all')
],

View File

@@ -15,7 +15,7 @@ from motia import http, ApiRequest, ApiResponse, FlowContext
config = {
'name': 'Calendar Sync API Trigger',
'description': 'API endpoint for manual calendar sync triggering',
'flows': ['advoware'],
'flows': ['advoware-calendar-sync'],
'triggers': [
http('POST', '/advoware/calendar/sync')
],

View File

@@ -15,7 +15,7 @@ from motia import cron, FlowContext
config = {
'name': 'Calendar Sync Cron Job',
'description': 'Runs calendar sync automatically every 15 minutes',
'flows': ['advoware'],
'flows': ['advoware-calendar-sync'],
'triggers': [
cron("0 */15 * * * *") # Every 15 minutes (6-field: sec min hour day month weekday)
],

View File

@@ -937,7 +937,7 @@ async def process_updates(state, conn, service, calendar_id: str, kuerzel: str,
config = {
"name": "Calendar Sync Event Step",
"description": "Handles bidirectional calendar sync between Advoware and Google Calendar using Postgres as hub",
"flows": ["advoware"],
"flows": ["advoware-calendar-sync"],
"triggers": [
queue("calendar_sync_employee")
],