How to Read an AML Result
When you execute a workflow containing an AML step, the API response provides a rich set of data to help you understand the outcome. This guide provides a structured, “top-down” walkthrough of how to parse theworkflowResult object.
View Full API Response Example
View Full API Response Example
The examples in this guide refer to a workflow execution response where Adverse Media matches were found. Click to expand and see the full structure.
Part 1: The Overall Outcome (Final Verdict)
Always start by checking the top-level fields of theworkflowResult object. These give you the final, authoritative outcome.
| Field | Importance | Description |
|---|---|---|
status | ‼️ | The conclusive recommendation (e.g., PASS, FAIL, REVIEW). Base your primary business logic on this value. |
workflowExecutionState | ‼️ | Confirms the workflow’s technical status. Must be COMPLETED. |
issues | ⚠️ | An array of problems that require manual review. If status is REVIEW, this array contains the specific reasons why. |
riskAssessment | ⚠️ | The final risk profile of the entity, including the riskLevel and riskScore. |
status is REVIEW, which is directly caused by the issues array containing a MEDIA issue.
Understanding AML Issues
When the AML step finds a potential match, it generates anissue object. This is what typically drives the overall workflow status to REVIEW.
| Category | Issue | Severity | Trigger Condition |
|---|---|---|---|
AML | PEP | WARNING | At least one valid Process Result contains pepData. |
AML | SANCTIONS | WARNING | At least one valid Process Result contains sanctionData. |
AML | MEDIA | WARNING | At least one valid Process Result contains mediaData. |
AML | WATCHLIST | WARNING | At least one valid Process Result contains watchlistData. |
Part 2: The AML Step Result (workflowStepResults)
Next, drill down into the workflowStepResults array and find the object where stepName is AML. This object contains the specific results of the screening.
| Key Field | Description |
|---|---|
result | The most important field for the step. A result of HIT means at least one potential match was found and requires review. A result of CLEAR means no matches were found. |
summary | An aggregated summary of the screening results, broken down by match type. |
processResults | An array containing the detailed evidence for each individual watchlist match. |
The AML Summary Object
Thesummary object gives you a quick, quantitative overview of the screening results.
numUnresolvedSanction highlights if a high-risk sanctions match is present and needs immediate attention.
Part 3: The Process Results (The Raw Evidence)
When an AML step returns aHIT, the processResults array will contain one or more Process Result Objects (PROs), each with class: "AML". Each PRO represents a single potential match from a watchlist and contains all the data you need for your investigation.
Anatomy of an AML PRO
The most critical part of an AML PRO is thesupplementaryData object. This is where you will find the details of the matched entity.
supplementaryData Field | Description |
|---|---|
matchData | Core information about the matched profile (name, date of birth, countries of association). |
pepData | If the match is a Politically Exposed Person, this array contains details about their position, level, and country. |
sanctionData | If the match is on a Sanctions list, this array contains details about the sanction, its source, and the reason. |
watchlistData | This array contains details for matches on other regulatory or law enforcement watchlists. |
mediaData | If the match is from Adverse Media, this array provides snippets and links to relevant news articles. |
referenceDocs | An array of URLs to source documents for further evidence. |
Example: A Adverse Media Match PRO
Example: A Adverse Media Match PRO
This example shows a
processResult for a HIT where the organization has adverse media hits. The mediaData array is populated with the specific details of the adverse media matches.Part 4: Next Steps - Classifying Hits and Re-evaluating
After your compliance team reviews the evidence in theprocessResults, they must classify each hit (e.g., as a FALSE_POSITIVE). This is done by updating the manualStatus of each PRO.
For a detailed guide on how to perform this action via the API, please see our AML Screening & Monitoring Documentation.
Re-running the Workflow
Once all hits have been classified, you must re-run the workflow for the entity. This is a critical step for two reasons:- To Update the
status: The overallworkflowResult.statuswill only change fromREVIEWtoPASSorCLEARafter the workflow is executed again and the AML step confirms that no unresolved hits remain. - To Clear
issues: The re-execution will cause the AML step to re-evaluate the issues. If all PROs that previously caused aMEDIAissue are now classified asFALSE_POSITIVE, the issue will be cleared from the workflow result.