Skip to content
SurfaceDocs
FRGet started
DocsModel reference

WorkspaceActionContextSelection · types

Interfaces, values and named contracts for WorkspaceActionContextSelection.

The following types define named objects and their relationships. Tables include inherited properties. Schema-derived types refer to their validated structures; a TypeScript declaration does not replace the compiler’s semantic checks.

WorkspaceActionContextSelection

Selection supplies the ordinary context identity/version; it contains no grant or durable value.

export type WorkspaceActionContextSelection = z.infer<typeof workspaceActionContextSelectionSchema>;

All references

Applied examples : Create a record or start work

A Flow Action prepares a quote; a creation Action opens its dedicated Form.

Configuration

Fragment placed in actions[]. Properties and accepted values.

{
  "key": "prepare-quote",
  "label": "Prepare a quote",
  "targetDefinitionPaths": [
    "workspace/clients/surface/client"
  ],
  "kind": "flow",
  "operationKey": "prepare-quote",
  "formKey": "prepare-quote",
  "ruleKeys": [],
  "contextPolicyKey": "quote-context",
  "minimumRole": "member",
  "confirmation": true
}

Variation and connection

Fragment placed in actions[]. Properties and accepted values.

{
  "key": "create-client",
  "label": "Create client",
  "targetDefinitionPaths": [],
  "kind": "semantic-command",
  "operationKey": "create-client",
  "formKey": "new-client",
  "ruleKeys": [],
  "contextPolicyKey": null,
  "minimumRole": "member",
  "confirmation": true
}

UI layout example

The illustrative layout below places this configuration in the Clients/Quotes app. Insert each fragment at the stated location, with Field, Query and Action references matching the Model declarations.

  1. Target object
  2. Proposed change
  3. Checks
  4. Confirm
ILLUSTRATIVE LAYOUTClients / Quotes app
SurfaceClients / North StudioExample
WorkspaceActionContextSelection · typesCreate a record or start work
Clients
NS
North StudioQuote S-1042
Needs review
Proposed change
A Flow Action prepares a quote; a creation Action opens its dedicated Form.
Data and references
Client · Need · Pricing
BackReview then confirm
Search for a concept, field or action.Esc