订阅

UiPath 活动

UiPath 活动指南

Write Line

📘

Note:

When executed on 20.10 Robots or newer, the Write Line activity outputs logs at trace level, rather than information level.

System.Activities.Statements.WriteLine

描述

将字符串或字符串变量值打印到“输出”面板。默认情况下,“收藏夹”组中也包含该活动。

属性

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.
  • “文本”- 要写入“输出”面板的内容。该字段仅接受字符串和字符串变量。必须为字符串加上引号。
  • TextWriter - Optional. Sends the content in the Text property to a target different from the default Output panel.

System.Activities.Statements.WriteLine

描述

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

配置活动

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.

8 个月前更新


Write Line


建议的编辑仅限用于 API 参考页面

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