Skip to content
SurfaceDocs
FRGet started
DocsModel reference

SurfaceTriggerDeadline · types

Interfaces, values and named contracts for SurfaceTriggerDeadline.

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.

SurfaceTriggerDeadline

Technical scheduling policy never grants access or executes the proposed Action.

export type SurfaceTriggerDeadline = z.infer<typeof surfaceTriggerDeadlineSchema>;

All references

Applied examples : Propose a review at the right time

A change to the amount proposes a review; a deadline bounds the watched objects.

Configuration

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

{
  "key": "quote-review",
  "enabledByDefault": false,
  "event": {
    "kind": "revision",
    "definitionPaths": [
      "workspace/quotes/surface/quote"
    ],
    "fieldKeys": [
      "amount"
    ]
  },
  "ruleKeys": [
    "positive-amount"
  ],
  "actionKey": "review-quote",
  "mode": "propose",
  "executionCapability": null,
  "maximumCascadeDepth": 1,
  "historicalEvents": "explicit-backfill-only"
}

Variation and connection

Fragment placed in triggers[].deadline. Properties and accepted values.

{
  "contract": "SurfaceTriggerDeadline@2",
  "sourceQueryKey": "pending-quotes",
  "maximumScheduledNodes": 50,
  "lateToleranceMs": 300000
}

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. Qualify need
  2. Prepare proposal
  3. Wait for decision
  4. Retain result
ILLUSTRATIVE LAYOUTClients / Quotes app
SurfaceClients / North StudioExample
SurfaceTriggerDeadline · typesPropose a review at the right time
Clients
✓
Qualify needCompleted
✓
Prepare proposalCompleted
03
Wait for decisionDecision required
04
Retain resultUpcoming
Preparation is awaiting a decision

The proposal and its sources remain available while waiting.

Review proposal
Search for a concept, field or action.Esc