Skip to main content

Type Alias: CommandFeature

CommandFeature = "core" | "parity.can" | "parity.context" | "parity.localActivity" | "parity.externalCancel" | "parity.childOptions" | "parity.canOptions" | "parity.workflowIdTarget" | "c.updates" | "c.searchAttributes" | "c.userActivity" | "c.asyncCompletion"

A feature a command may need (C-GATE).

  • core: the core command set of runtime release 1.
  • parity.can: CONTINUE_AS_NEW (enabled with the core set).
  • parity.context: UPSERT_CONTEXT (enabled with the core set).
  • parity.localActivity: RECORD_LOCAL_ACTIVITY.
  • parity.externalCancel: REQUEST_CANCEL_EXTERNAL_RUN aimed at a run that is not one of the run's own children.
  • parity.childOptions: the START_CHILD_RUN options new in R2 (anything outside CORE_CHILD_OPTIONS: retry, versioningBehavior, idReusePolicy, idConflictPolicy).
  • parity.canOptions: the CONTINUE_AS_NEW options new in R2: a run-retry retry and anything outside CORE_CAN_OPTIONS.
  • parity.workflowIdTarget: a SIGNAL_RUN or REQUEST_CANCEL_EXTERNAL_RUN target given as { workflowKey, workflowId }.
  • c.updates (fluidgrids.run-control): ACCEPT_UPDATE, REJECT_UPDATE and COMPLETE_UPDATE.
  • c.searchAttributes (fluidgrids.search-attributes): UPSERT_SEARCH_ATTRIBUTES, and the searchAttributes option of START_CHILD_RUN and CONTINUE_AS_NEW (gap G13). That option needs only this feature, not parity.childOptions or parity.canOptions.
  • c.userActivity (fluidgrids.self-hosted-workers): a SCHEDULE_ACTIVITY of kind: 'user'.
  • c.asyncCompletion (fluidgrids.run-control, H5): a node SCHEDULE_ACTIVITY whose node type completes asynchronously (internal:send-and-wait): the attempt parks and a person's answer finishes it.

The core and parity sets never include a c.* feature, so a workspace without those flags gets exactly the durable-functions parity command set (CX1).