Read and Review Automation Anywhere Documentation

Automation 360

Close Contents

Contents

Open Contents

Using Log To File action

  • Updated: 2/11/2021
    • Automation 360 v.x
    • Build
    • RPA Workspace

Using Log To File action

Using the Log To File action, you can create a log file with data about the events that occur when a TaskBot runs.

Procedure

Follow these steps to log text into a file:

  1. In the Actions palette, double-click or drag the Log To File action from the Log To File package.
  2. In the File path field, specify the file location or variable.
  3. In the Enter text to log field, enter the text to log in the file.
  4. Select the Append timestamp check box to add a time stamp.
  5. In the When logging field, choose Append to existing file to append the log file or Overwrite existing log file to overwrite the content in the log file.
  6. Select the Encoding type.
    • ANSI: Used to encode Latin alphabet.
    • UNICODE
    • UTF8: Can encode all possible characters.
    • UTF-16LE: Inserts a byte order mark (BOM) Unicode character at the beginning of the file.
    Note: Shift-JIS files must use ANSI as encoding to read text file content.
    If you selected the Append to existing file option in Step 5, ensure that the selected encoding type matches that of the original file, otherwise some of the characters might not be logged.
  7. Click Save.
Send Feedback