Fix blank records in an agent collection
  • 09 Apr 2020
  • 1 Minute To Read
  • Contributors
  • Print
  • Share
  • Dark

Fix blank records in an agent collection

  • Print
  • Share
  • Dark

When you run an agent in the Web Console, you can end up with blank data fields for several reasons.

  • The website might have updated their site, changing or removing the information.
  • The capture action is set to optional in the builder.
  • The settings in the Web Console are set to ignore agent errors.

Update the agent

When you set actions as Optional in the Agent Builder, the agent doesn't see empty items as errors and doesn't attempt to recover the information. If you have an agent that has several items set to Optional, your results can include several incomplete records.

To update the agent:

  1. If the field is blank, visit the web page where that data was originally collected.
  2. Compare data in the Web Console to the web page.
  3. If the data is absent from the web page, the agent is working properly.
    If the data is present, update the agent to fix it.
  4. Right-clicking any capture actions in the Action list that have the ⚠️ icon and clear the Optional choice.
  5. Open the URL from the web page in the Agent Builder.
  6. Right-click, then click Location > Alternate Location to specify a different URL.
    Write XPath to specifically target the element.
  7. Right-click the action and click Test. View results in the Testing Results tab at the bottom of the Agent Builder window.

Run the agent again to recover information
By default, agents are set up to ignore missing items and to complete remaining actions to gather additional information.

You can change the error-handling settings to run the job again to try to recover any missing information.

  1. Open the agent in the Web Console.
  2. Click , then select Harvesting.
  3. Click the Error Handling tab.
  4. Select Stop the job so the agent can be fixed under When an agent error occurs.
  5. Select Stop the job so the agent can be fixed under When a website error occurs.
  6. Click SAVE.

Duplicate information
When an agent pauses because of an error, the record it was working on gets recorded even though it's not complete. If the agent is repaired before being resumed, the agent gathers that information again, resulting in duplicate information in the collection.

Was This Article Helpful?