Internal task schedule object with comprehensive operational and administrative details
Unique identifier for the task schedule (MongoDB ObjectId). Example: 6352736c628401059b37a2e2
Unique identifier for the hub where this schedule operates. Example: 634e98498ce07d29474a7e29
Organization identifier that owns this task schedule. Example: 634e98098ce07d29474a7e22
Human-readable name of the task schedule. Example: Daily Morning Visit
Schedule period type determining execution pattern. Example: daily
daily, weekly, monthly, byDate, custom Flow name that this schedule executes. Example: Visit
Unique identifier for the flow. Example: 67be687c128306111e022022
Task configuration data specific to the selected flow
Schedule configuration array defining when tasks should execute
Schedule activation start time. Example: 2022-11-02T00:00:00.000000Z
Schedule deactivation end time. Example: 2022-11-05T23:59:59.999999Z
Current operational status of the schedule. Example: active
active, inactive, paused, expired Total number of successful executions. Example: 45
Total number of failed execution attempts. Example: 2
Email address of the user who created this schedule. Example: admin@mile.app
ISO 8601 timestamp when the schedule was created. Example: 2022-11-01T07:28:23.000000Z
ISO 8601 timestamp when the schedule was last updated. Example: 2022-11-01T07:28:23.000000Z
Soft delete flag for data retention. Example: false
List of user email addresses assigned to execute scheduled tasks. Example: ['worker@mile.app']
Frequency unit for custom schedules. Example: daily
daily, weekly, monthly Interval multiplier for custom frequencies. Example: 2
1 <= x <= 99Computed time schedule array for display purposes
Timestamp of last successful execution. Example: 2025-01-15T07:00:00.000000Z
Calculated next execution time. Example: 2025-01-16T07:00:00.000000Z
Email address of the user who last updated this schedule. Example: admin@mile.app
Timestamp when the schedule was soft deleted. Example: null
Email address of user who deleted this schedule. Example: null
Execution history logs for monitoring and debugging
Advanced schedule configuration settings
Performance and reliability metrics
Task Schedule Module business failedCode that indicate specific failure conditions or business rule violations during task schedule module operations. These codes help identify the failed operation of task schedule-related and provide standardized failure identification across the system.
Possible values:
sched-032, sched-033, sched-034, sched-035, sched-036, sched-037, sched-038, sched-039, sched-040, sched-041, sched-042, sched-043, sched-044, sched-045