J.

Jev Exception queue prioritization Code Example

Put time-sensitive failures ahead of harmless retries.

Payroll export rejected

Failure Payroll export rejected
Deadline in 2 hours
Fallback No

Which exception priority fits?

0% Immediate review.
Immediate review 91%
Next working day 6%
Routine 3%

Send it to immediate review.

Code
Conceptual pseudocode — not official Jev SDK syntax
// Conceptual pseudocode — not Jev SDK syntax
const state = {
  "failure": "Payroll export rejected",
  "deadline": "in 2 hours",
  "fallback": false
};

const decision = await evaluateDecision({
  state,
  question: "Which exception priority fits?",
  options: ["Immediate review","Next working day","Routine"],
});

// Your adapter normalizes the provider response.
// Tune this example threshold on labelled data.
if (decision.outcome === "Immediate review"
    && decision.probability >= 0.85) {
  prioritizeException(decision);
} else {
  queueForReview(decision);
}

This adapter illustrates the decision boundary. Check the official Jev docs for current API syntax.