Skip to content

Execution Results

When an RPA robot completes its task, it’s essential to correctly interpret the results. Heptora will show you both the overall process status (whether it completed or failed) and the result of each individual action (OK, KO, or ERROR).

Within an RPA process, especially in tasks that handle lists of data (such as an Excel table or CSV file), each line or record the robot attempts to process has its own result:

Indicates that the data line was processed correctly. The robot completed all programmed actions for that record without encountering any problems.

Example: If the robot needed to enter data from a row into a web form, an OK result means the operation was performed successfully.

Indicates that the data line could not be processed correctly because it violates a business rule or already meets the objective. The robot knows why it failed, but marks it as KO since these cases require human intervention to verify the data and, if necessary, correct the information.

KO Characteristics:

  • The overall process can continue with subsequent lines
  • It’s an expected error controlled by business rules
  • Requires manual data review
  • Doesn’t indicate a problem with the robot, but with input data

Indicates that the data line could not be processed correctly for some unknown reason. For some reason, the robot couldn’t complete its task for that specific record.

ERROR Characteristics:

  • The overall process can continue with subsequent lines
  • It’s an unexpected error not covered by business rules
  • May be caused by technical or connectivity issues
  • May require relaunching the process or technical intervention

Imagine a process that starts with an Excel file containing invoices and needs to check them on a website. If they appear as “pending,” then the data must be entered into the website’s form for invoicing.

InvoiceWeb StatusComplete DataConnectivityResultReason
INV-001Pending✅ Yes✅ OKOKProcessed and sent correctly
INV-002Paid✅ Yes✅ OKKOAlready paid, no action required
INV-003Pending❌ No (missing Tax ID)✅ OKKOIncomplete data or incorrect format
INV-004Pending✅ Yes❌ FailureERRORWebsite didn’t load at that moment
  • Checked on the website
  • Appeared as “pending”
  • Form filled correctly
  • Sent for invoicing without errors
  • Action: None, process completed
  • Checked on the website
  • Appeared as “paid” (doesn’t meet business rule)
  • Action: Manually review if it’s really paid or there’s a system error
  • Checked on the website
  • Appeared as “pending”
  • When trying to fill the form, Tax ID is missing or has incorrect format
  • Action: Correct the data in Excel and relaunch only this invoice
  • Attempted to check on the website
  • Website didn’t load due to momentary connectivity issue
  • Action: Relaunch the process or manually process this invoice
  1. Missing or incorrect data

    • Empty required fields
    • Incorrect format (dates, Tax IDs, emails)
    • Values outside allowed range
    • Disallowed special characters
  2. Business rules not met

    • Record already processed previously
    • Doesn’t meet established conditions
    • State incompatible with required action
    • Duplicates detected
  3. Failed validations

    • Data that doesn’t pass verifications
    • Inconsistencies between related fields
    • Outdated information

Common Causes of ERROR (Uncontrolled Error)

Section titled “Common Causes of ERROR (Uncontrolled Error)”
  1. Connectivity problems

    • Momentary network drop
    • Connection timeout
    • High latency
  2. System availability

    • Target system temporarily unavailable
    • Unscheduled maintenance
    • Server overload
  3. Interface problems

    • Unexpected changes in website or application
    • Elements not found
    • Excessive loading times
  4. Technical errors

    • Permission or authentication issues
    • Server errors (500, 503)
    • Exhausted system resources

Heptora offers two ways to check your process results:

By default, Heptora sends an email to the user who started the task (and any other email defined in the process).

The email contains:

  • Quick summary of overall task status
  • Breakdown of individual actions
  • Number of OK, KO, and ERROR results
  • Information about the executed process
  • Execution date and time

Limitations:

  • Only provides an overview
  • Doesn’t include detail of each specific line
  • Summarized information for quick reference

🌐 Option 2: Executions Panel on the Web

Section titled “🌐 Option 2: Executions Panel on the Web”

For more thorough analysis, access the Executions Panel within the Heptora web platform.

Features:

  • Complete history of all executed tasks
  • Detailed view of each execution
  • Specific results per line/record
  • Precise identification of which lines gave KO or ERROR
  • Description of failure reason
  • AI-proposed solution
  • Ability to filter and search
  • Results export

How to access:

  1. Log in to Heptora
  2. Navigate to the Executions Panel
  3. Select the execution you want to review
  4. View detailed results of each action

Understanding the difference between these two types of failures is fundamental to taking the right actions:

AspectDescription
NatureProblem with input data
PredictabilityExpected, covered by rules
CauseIncorrect, incomplete data, or doesn’t meet rules
SolutionManual data correction or human validation
PreventionImprove input data quality
ResponsibleUser or business team

Typical example: An invoice with incorrect Tax ID, a duplicate record, a state that doesn’t allow the action.

AspectDescription
NatureProblem with automation or environment
PredictabilityUnexpected, not covered
CauseTechnical failures, connectivity, availability
SolutionRelaunch process or technical intervention
PreventionMonitoring, automatic retries, alerts
ResponsibleIT team or technical support

Typical example: Website that doesn’t load, connection timeout, server error, interface change.

The differentiation between OK, KO, and ERROR exists so you know exactly what needs your attention:

  1. Process completeness: Ensure 100% of records are processed
  2. Data quality: Identify recurring problems in input data
  3. Continuous improvement: Detect failure patterns for future prevention
  4. Audit: Maintain record of what was processed and what wasn’t
  5. Compliance: Ensure no vital information is lost
  • Check the notification email
  • Verify the number of OK, KO, and ERROR
  • Identify if there’s a pattern

Steps:

  1. Access the Executions Panel on the web
  2. Identify each record marked as KO
  3. Read the failure reason description
  4. Classify by problem type

Actions:

  • Incorrect data: Correct the data at the source (Excel, CSV, etc.)
  • Business rule: Validate if the record should really be processed
  • Manual process: Complete the task manually for that record
  • Report: If it’s a special case, document for future reference

Steps:

  1. Identify the time of errors
  2. Review if there are patterns (same time, same website, etc.)
  3. Verify the technical cause

Actions according to cause:

Isolated failure (momentary connectivity):

  • Relaunch the complete process or only failed records
  • ERROR records may process correctly on retry

Systematic failure (website down, interface change):

  • Contact IT team or support
  • Don’t relaunch until underlying problem is resolved
  • Document the incident

Intermittent failure:

  • Configure automatic retries if available
  • Monitor if it repeats
  • Consider adjusting timeouts or wait times

For records that weren’t processed automatically:

Option A - Correction and Relaunch:

  1. Correct problematic data
  2. Create a new file with only failed records
  3. Relaunch the process with this data

Option B - Manual Process:

  1. For each KO/ERROR record that can’t be relaunched
  2. Complete the task manually
  3. Document in your system that it was manually processed

Option C - Discard:

  1. If the record shouldn’t be processed (valid KO)
  2. Mark as reviewed and discarded
  3. Document the reason
  1. Daily review

    • Set a time of day to review executions
    • Don’t let unreviewed records accumulate
  2. Documentation

    • Keep a log of recurring problems
    • Create a knowledge base of solutions
  3. Communication

    • Inform data owners about recurring KOs
    • Escalate systematic ERRORs to technical team
  4. Continuous improvement

    • Analyze failure patterns
    • Propose improvements in source data quality
    • Suggest additional validations in the process
  5. Metrics

    • Keep track of OK vs KO vs ERROR percentage
    • Set improvement goals
    • Celebrate achieved improvements

✅ Relaunching is useful when:

  • ERRORs were due to isolated connectivity failures
  • Data causing KOs has been corrected
  • Target system is now available
  • Only a few hours have passed since failure

❌ Don’t relaunch if:

  • KOs are due to valid business rules
  • Data remains uncorrected
  • Technical problem persists
  • Days have passed (may cause duplicates)

Option 1: Complete relaunch

  • Execute the process again with all data
  • Robot will process those that were already OK (verify if this causes duplicates)
  • Useful when there are many isolated failures

Option 2: Selective relaunch

  • Create a file with only KO/ERROR records
  • Execute the process with only this data
  • More efficient and avoids duplicates

Option 3: Hybrid process

  • Automatically relaunch ERRORs
  • Manually process complex KOs
  • Combine the best of both worlds

Is a process with KOs and ERRORs considered “failed”?

Section titled “Is a process with KOs and ERRORs considered “failed”?”

Not necessarily. The overall process status can be “Completed” even with individual records with KO or ERROR. The process did its job of attempting to process all lines. What’s important is reviewing and managing the failures.

Will KOs and ERRORs be automatically reprocessed?

Section titled “Will KOs and ERRORs be automatically reprocessed?”

No. Failed records won’t be automatically processed in the next execution. You must manually intervene by correcting data (KOs) or relaunching the process (isolated ERRORs).

Results are maintained in the Executions Panel according to your plan’s retention policy. Generally, you have access to complete history for several months.

Yes, from the Executions Panel you can export detailed results, including only failed records, to facilitate their correction and reprocessing.

KOs are reduced by improving input data quality:

  • Implement prior validations in source files
  • Train users on correct format
  • Automate data generation when possible
  • Create templates with built-in validations

ERRORs are reduced with technical improvements:

  • Configure automatic retries for isolated failures
  • Improve process robustness with dynamic waits
  • Schedule executions during low-load times
  • Monitor availability of target systems
StatusMeaningTypical CauseRequired Action
✅ OKProcessed correctly-None
⚠️ KOControlled errorIncorrect data or rule not metCorrect data and review
❌ ERRORUncontrolled errorTechnical failure or connectivityRelaunch or contact IT

If this guide didn’t solve your problem or you found an error in the documentation:

  • Technical support: help@heptora.com
  • Clearly describe the problem you encountered
  • Include screenshots if possible
  • Indicate which documentation steps you followed

Our support team will help you resolve any issue.

  • Secrets Management - Protect credentials to avoid authentication errors
  • Robot Installation - Correctly configure your environment
  • Executions Panel (coming soon) - Complete guide to the web panel