Activity | WorkflowTemporal endpoint properties
Common configuration for on-demand execution and optional durable scheduling.
When to use
Use this page while designing, implementing, operating, or troubleshooting scheduled and durable execution.
Behavior
temporalExecutionTypeselects Activity or Workflow generation.taskQueuebinds starters and workers.- The generator groups endpoints by connector, Task Queue, and execution type to derive Worker capacity.
enabled: falsepreserves graph wiring but does not start this endpoint external integration.tracingEnabledis evaluated for admitted Input events; Sink adapters ignore it and propagate existing message context instead.- Empty
schedulemeans on-demand only; a non-empty value also provisions a Temporal Schedule.
Why schedule fields may be empty
Most Temporal Activity and Workflow endpoints are started on demand by a Temporal Sink and do not own a Temporal Schedule. Empty schedule and scheduleId values are correct for those endpoints.
- On demand: keep both
scheduleandscheduleIdempty. - Scheduled: provide both a five-field
scheduleand a stablescheduleId. scheduleIddoes not apply to a normal Cron endpoint.
Execution properties
Durable execution identity and routing.
temporalExecutionTypeenumGenerated execution type.
RequiredDefault:ActivityAllowed: Activity, WorkflowtaskQueuestringTask Queue shared by the generated starter and Worker.
RequiredDefault:defaultWorker capacity properties
Endpoint-owned limits aggregated into the Worker for one connector and Task Queue.
maxConcurrentActivitiesintegerMaximum Activity Tasks that the Worker may execute concurrently.
RequiredDefault:2Minimum: 1Activity only.maxConcurrentWorkflowTasksintegerMaximum Workflow Tasks that the Worker may process concurrently. It does not limit open Workflow executions.
RequiredDefault:4Minimum: 1Workflow only.Timeouts and retry properties
Execution duration, heartbeat, and attempt policy.
workflowExecutionTimeoutmillisecondsTotal execution limit; zero means no explicit limit.
Default:0Minimum: 0activityStartToCloseTimeoutmillisecondsOne Activity attempt limit.
Default:30000Minimum: 1Activity only.activityHeartbeatTimeoutmillisecondsHeartbeat limit; zero disables it.
Default:0Minimum: 0Activity only.maximumAttemptsintegerMaximum Activity attempts including the initial attempt. Required by the current endpoint contract in both modes, but it does not define Workflow retry policy.
RequiredDefault:1Minimum: 1Schedule properties
Optional durable schedule fields.
enabledbooleanEnables endpoint registration.
Default:truetracingEnabledbooleanCreates tracing for each admitted scheduled execution.
Default:falseschedulestringOptional five-field cron expression without seconds. Empty means this endpoint is started on demand only.
scheduleIdstringPermanent unique Schedule identity inside the Temporal namespace, for example billing-reconciliation-workflow-schedule. It is not a cron expression or generated number.
timezoneenumSchedule timezone.
Default:UTCAllowed: UTCoverlapPolicyenumScheduled start overlap.
Default:SkipAllowed: Allow, SkipmissedRunPolicyenumMissed scheduled starts.
Default:FireOnceAllowed: Skip, FireOnceOn-demand endpoint
temporalExecutionType: Activity
taskQueue: billing
maxConcurrentActivities: 2
maximumAttempts: 3
activityStartToCloseTimeout: 30000
schedule: ""
scheduleId: ""