contact-already-on-job as a single job-wide on/off switch.contact-already-on-job) with rules teams can target at this role’s assignee vs another role on the same job.contact-already-on-job is job-wide: evaluation walks the full roster (inspection.people or _conditionScopePeople) and returns true when the same contact identity appears more than once—typically the same person on multiple roles.people: [recipient]) but duplicate checks still use the full job via _conditionScopePeople, so contact-already-on-job is_false effectively means “no one on this job is duplicated anywhere”—not “the person in this role isn’t duplicated in that other role.”contact-role-ids reflects the current recipient’s role(s), not “does this recipient’s contact also hold role X elsewhere on the job?”contact-already-on-job can evaluate incorrectly after role replacement (contact A swapped for distinct contact B on the same role). Fix that without changing the job-wide semantics described here.contact-already-on-job with scope (job vs recipient vs recipient-and-other-role).attik-frontend/src/components/conditions/templatingData.ts) with clear copy—e.g. recipient’s contact also assigned to role(s) …contact-already-on-job so teams know when to use job-wide vs role-scoped rules.attik-backend/src/util/functions/actionFlows/attributePathResolver.ts, conditionsResolver.ts — new or extended resolver using current recipient from people[0] and full roster from _conditionScopePeople / inspection.people.attik-backend/src/util/functions/actionFlows/recipientIdentity.ts — resolveContactIdentity for matching the same person across roles.attik-backend/src/util/functions/emailBuilder/renderEmail.ts, attik-backend/src/util/functions/actionFlows/renderSms.ts — already pass _conditionScopePeople; role-scoped attribute should evaluate in that context.contact-already-on-job remains job-wide duplicate detection.templatingData.ts, ValueConditionInput.tsx (if role picker needed, follow contact-role-ids patterns).people (ATT-1485).attik-backend/src/util/functions/actionFlows/attributePathResolver.ts (contact-already-on-job, contact-role-ids)attik-backend/src/util/functions/actionFlows/recipientIdentity.tsattik-backend/src/util/functions/emailBuilder/renderEmail.tsattik-frontend/src/components/conditions/templatingData.tsPlease authenticate to join the conversation.
Canceled
Main App
About 2 months ago
Linear
Get notified by email when there are changes.
Canceled
Main App
About 2 months ago
Linear
Get notified by email when there are changes.