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>;
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.
- Qualify need
- Prepare proposal
- Wait for decision
- Retain result
The proposal and its sources remain available while waiting.