fusion_resolve_value
Turn user-spoken names into required API ID values by matching id-shaped fields against valid values. If several rows match, return candidates for the user to choose instead of guessing.
Instructions
Turn a name the user said into the id the API wants.
RequisitioningBUId wants 300000003588643; the user says "the Egypt BU".
Call this for every id-shaped field before putting it in a payload.
Runs as a normal guarded SELECT on the read channel (the pod's list-of-values views are not addressable over REST -- all candidate paths answer HTTP 404), so it is audited like any other query.
Four outcomes, and ambiguous is the important one: when several rows
match, the candidates come back for the user to choose between. Never
pick one yourself -- two business units both matching "IHC" is exactly the
situation where guessing produces a confidently wrong document.
Args:
field: The REST attribute name, e.g. RequisitioningBUId.
text: What the user said. Matched case-insensitively as a substring.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| field | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||