UiPath Activities

The UiPath Activities Guide

Write Line

System.Activities.Statements.WriteLine

Description

Prints a string or the value of a string variable to the Output panel. By default, this activity is also included in the Favorites group.

Properties

Common

  • DisplayName - The display name of the activity.

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
  • Text - The content to be written to the Output panel. This field only accepts strings and string variables. Strings have to be placed between quotation marks.
  • TextWriter - Optional. Sends the content in the Text property to a target different from the default Output panel.

System.Activities.Statements.WriteLine

Description

Writes specified data or text to the Output panel. Use for debugging your automation.

Configuring the Activity

In the Body of the Activity

  • Text - Click Plus plus button on the right side of the field and then, from the menu, select the text to display using one of the available options:
    • Data from the Project Notebook, a parent Excel file or Outlook account. For Excel, you can select a named cell from the menu or select Indicate in Excel and indicate a cell directly from the file. For Outlook, you can select a field in the email that is selected in Outlook when the project is executed.
    • Use Saved Value - Output data from another activity that you previously saved for later use in the project.
    • Text - Enter a text in the Text Builder.
    • Ask when run - Prompt for a text when the project is executed.
    • Open in Advanced Editor - Enter a VB expression.

In the Properties Panel

Common

  • DisplayName - The name displayed for the activity in the Designer panel.

Misc

  • Private - If selected, the data used in the activity is not logged by StudioX.
  • Text - See Text in the body of the activity.
  • TextWriter - Optional. Sends the content in the Text property to a target different from the default Output panel.

Updated about a month ago


Write Line


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.