Skip to content

Document that Search Attributes on Standalone Activity start are not billed as additional Actions #5883

Backlog

Description

@timjbruce

Temporal Affiliation

  • I am a Temporal employee

Page URL

https://docs.temporal.io/evaluate/cloud/actions & https://docs.temporal.io/best-practices/cost-optimization

Content Issue

Pages affected

https://docs.temporal.io/evaluate/cloud/actions (docs/evaluate/cloud/actions.mdx)
https://docs.temporal.io/best-practices/cost-optimization (docs/best-practices/cost-optimization.mdx)

What's missing

Both pages say that Search Attributes provided at Workflow start don't add billable Actions. Neither page says the same for Standalone Activities. Search Attributes provided when a Standalone Activity starts are also included in the start Action at no extra charge.

Because only Workflows are mentioned, a reader could reasonably conclude that Search Attributes on a Standalone Activity start cost extra. That conclusion matters most when someone is comparing a Standalone Activity against a wrapper Workflow, because the cost-optimization page directs readers to make exactly that comparison.

Current wording

Actions page, Workflow section → "Search Attribute upsert requested": says Search Attributes set during Workflow start are excluded from Action counts. The Activity section has no equivalent note for "Start Standalone Activity" (start_standalone_activity).
Cost optimization page, Batching operations → Search Attributes, item 1: says Search Attributes provided at Workflow start don't count as billable Actions. The "Standalone Activities vs a Workflow that runs a single Activity" section doesn't mention Search Attributes.

Suggested changes

Actions page, Activity section: add a sub-bullet under "Activity started or retried" (or next to the Standalone Activity start entry), for example:

Search Attributes specified when a Standalone Activity starts are included in the start Action and are excluded from Action counts.

Cost optimization page, Search Attributes item 1: broaden the wording to cover both, for example:

Search Attributes provided at Workflow start or Standalone Activity start do not count as billable Actions. If Search Attribute values are known up front, provide them at start to avoid extra Actions entirely.

(Optional) Cost optimization page, Standalone Activities vs a Workflow section: add one line noting that Search Attributes set at start are free for both options, so they don't change the comparison.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions