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>;
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.
- Target object
- Proposed change
- Checks
- Confirm
- Proposed change
- A Flow Action prepares a quote; a creation Action opens its dedicated Form.
- Data and references
- Client · Need · Pricing