Option B correctly identifies the Deterministic Exact Match evaluator as the most appropriate mechanism for validating a strictly defined Boolean output.
UiPath provides several evaluator categories, each intended for a different validation requirement.
Exact Match compares the agent's actual output against a predefined expected value without allowing semantic substitutions or alternative representations.
For an output field that must be the Boolean value true, the evaluator should pass only when the actual result matches the expected value under the configured comparison rules.
This is important when the field controls a consequential business decision, such as whether a validation has succeeded or whether mandatory checks have been completed.
JSON Similarity examines structural similarity and is more appropriate when evaluating complex JSON representations.
LLM-as-a-Judge evaluates meaning or contextual correctness and can tolerate language variation. That flexibility is unnecessary for a strict Boolean requirement.
Trajectory evaluators inspect the agent's broader execution behavior, including intermediate actions and tool usage.
Option B therefore provides the most predictable, efficient, and reproducible verification mechanism.
The developer should also define the output schema as Boolean to distinguish the actual Boolean value true from a text string containing the word "true."
Official UiPath references/topics: Agents — Evaluations — Deterministic Evaluators and Choosing the Evaluator Type.
Submit