forked from Yara724/api
updated the experts context
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
last_updated: 2026-08-08
|
last_updated: 2026-11-09
|
||||||
tags: [fanavaran, yara, integration]
|
tags: [fanavaran, yara, integration]
|
||||||
source: fanavaran-module-docs
|
source: fanavaran-module-docs
|
||||||
---
|
---
|
||||||
@@ -51,6 +51,31 @@ source: fanavaran-module-docs
|
|||||||
| Store | `claimId`, `claimNo`, `fanavaranSync.baseClaim.*`, history |
|
| Store | `claimId`, `claimNo`, `fanavaranSync.baseClaim.*`, history |
|
||||||
| Consumers | Damage/expertise soft-ensure; UI claim detail |
|
| Consumers | Damage/expertise soft-ensure; UI claim detail |
|
||||||
|
|
||||||
|
#### Staff source for ClaimExpertId across request flows
|
||||||
|
|
||||||
|
The flows in `docs/Yara724 flows.pdf` share the same base-claim resolver.
|
||||||
|
Base claims use `ThirdPartyClaimExpertId` / `CarBodyClaimExpertId`; expertise
|
||||||
|
uses `ThirdPartyExpertiseClaim` / `CarBodyExpertiseClaim` from staff profiles.
|
||||||
|
|
||||||
|
| Local flow | Base-claim staff source | Expertise staff source |
|
||||||
|
|------------|------------------------|------------------------|
|
||||||
|
| V1/V2 user, including expert-panel review | Blame expert when present; otherwise claim damage-review actor or persistent reviewer assignment | Claim damage-review actor |
|
||||||
|
| V2 expert-initiated / V3 | Initiating field expert, then blame expert; claim damage reviewer is a fallback | Claim damage-review actor |
|
||||||
|
| V4 / V5 | Initiating FileMaker | Assigned FileReviewer |
|
||||||
|
|
||||||
|
Outside V4/V5, base resolution checks blame initiator, blame assigned expert,
|
||||||
|
blame deciding expert, claim initiator, claim reply actor, then
|
||||||
|
`workflow.assignedForReviewBy.actorId`, in that order. Reply actor selection
|
||||||
|
matches expertise: the active submitted reply, then final/initial reply actor.
|
||||||
|
Temporary workflow locks are not reviewer assignments.
|
||||||
|
|
||||||
|
An unassigned user-created claim can still have no expert early in its lifecycle:
|
||||||
|
preview returns a missing-expert warning, and submit requires a resolvable code.
|
||||||
|
Tenant defaults and unrelated staff profiles do not supply expert ids.
|
||||||
|
For example, a claim review actor with `ThirdPartyClaimExpertId="5507"` and
|
||||||
|
`ThirdPartyExpertiseClaim="5510"` supplies base `ClaimExpertId=5507` and
|
||||||
|
expertise `ClaimExpertId=5510`.
|
||||||
|
|
||||||
### C. Damage case
|
### C. Damage case
|
||||||
|
|
||||||
| | |
|
| | |
|
||||||
|
|||||||
Reference in New Issue
Block a user