File tree Expand file tree Collapse file tree
skills/objectstack-automation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ export const OpportunityDiscountApproval = ApprovalProcess.create({
236236 description: ' High-value opportunities (> 100k) require manager + director sign-off.' ,
237237
238238 // Auto-submit + record locking — Phase B autopilot
239- entryCriteria: ' record.amount > 100000' , // CEL predicate
239+ entryCriteria: P ` record.amount > 100000 ` , // CEL predicate
240240 lockRecord: true ,
241241 approvalStatusField: ' approval_status' , // mirrors pending|approved|rejected|recalled
242242
@@ -325,7 +325,7 @@ director sign-off for amounts > 500k):
325325``` typescript
326326{
327327 name : ' director_signoff' ,
328- entryCriteria : ' record.amount > 500000' ,
328+ entryCriteria : P ` record.amount > 500000 ` ,
329329 approvers : [{ type: ' role' , value: ' sales_director' }],
330330 behavior : ' first_response' ,
331331 rejectionBehavior : ' back_to_previous' ,
You can’t perform that action at this time.
0 commit comments