Activity Definition
Write the function a Worker runs for an Activity, including its Activity Type, parameters, idempotency, retry policy, and Worker registration.
Write the function a Worker runs for an Activity, including its Activity Type, parameters, idempotency, retry policy, and Worker registration.
How Workflow, Standalone, and Local Activity Executions run, from lifecycle and cancellation to Activity IDs and Asynchronous Activity Completion.
Pause, Unpause, Reset, Update Options, Request Cancel, Terminate, or Delete an Activity Execution, and what each operation guarantees.
Terminate a Standalone Activity Execution if it's still running, then remove its record from the Temporal Service asynchronously.
Map Celery tasks, .delay() and .get() calls, retries, and Flower monitoring to Standalone Activities started from a Temporal Client, with Python code.
Stop an Activity's retries without closing the Execution, detect a Pause from Activity code, and resume it later with Unpause.
Ask a Standalone Activity to stop at a safe point. Cancellation reaches a running attempt through Heartbeats, so your code can clean up.
Reset returns an Activity to attempt 1, keeps Heartbeat details, discards retry backoff, and Unpauses it unless you pass --keep-paused.
Learn about durable job processing with Standalone Activities that run independently from a Workflow.
Terminate closes a Standalone Activity at once with no cleanup, and its record stays queryable until the Namespace Retention Period ends.
Unpausing reschedules an Activity immediately and discards retry backoff, but keeps its attempt count, Heartbeat details, and timeouts.
Adjust the timeouts, Retry Policy, or Task Queue of a Paused or running Activity, such as extending a Schedule-To-Close Timeout before Unpausing.
An Activity is a function a Worker runs, started from a Workflow or on its own as a background job, with retries and a durable Activity Execution.