Activity Definition
Learn how to define a Temporal Activity; Activity Types, parameters, constraints, idempotency, and retry behavior for the function your Worker runs.
Learn how to define a Temporal Activity; Activity Types, parameters, constraints, idempotency, and retry behavior for the function your Worker runs.
Learn how to start an Activity as a durable Activity Execution with built-in retries, timeouts, and failure handling.
Learn how to manage a running Activity Execution with commands to Pause, Unpause, Reset, Update Options, Request Cancel, Terminate, and Delete.
Terminate a Standalone Activity Execution if it's still running, then remove its record from the Temporal Service asynchronously.
Standalone Activities adds the ability to execute any Temporal Activity as a top-level primitive without the full overhead of a Workflow.
Migrate Celery tasks to a Temporal Standalone Activity, for durable job processing with full visibility and lifecycle control.
Stop an Activity's retries without closing the Execution, detect a Pause from Activity code, and resume it later with Unpause.
Ask an Activity Execution to close gracefully so your code can clean up, and what to expect when an attempt is already running.
Clear an Activity's retry state and schedule a fresh attempt, including what happens when an attempt is already running.
Learn about durable job processing with Standalone Activities that run independently from a Workflow.
Forcefully close a Standalone Activity Execution immediately, with no opportunity for your Activity code to clean up first.
Resume a Paused Activity Execution so its next attempt starts immediately, with options to reset retry state as it resumes.
Change an Activity's timeouts, Retry Policy, or Task Queue while it runs, without restarting the Execution or losing retry state.
Learn how Temporal turns a plain function you write into a Temporal Activity and durably executes it as a Workflow step or background job.