订阅

UiPath 活动

UiPath 活动指南

Assign / Save for Later

System.Activities.Statements.Assign

In the Studio profile, this activity is named Assign.

Allocates any value to a variable or argument. It can be used to increment the value of a variable in a loop (see the example in the The Do While Activity chapter), sum up the value of two or more variables and assign the result to a different variable (see the example in the Generic Value Variables chapter), assign values to an array (see the Array Variables chapter) and so on. By default, this activity is also included in the Favorites group.

属性

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.
  • “目标”- 接收分配值的变量的名称。
  • “值”- 要分配给变量的值。

Common

  • DisplayName - The display name of the activity.

📘

Important!

此活动由 Microsoft 构建。如需了解更多信息,请参阅其官方文档

System.Activities.Statements.Assign

In the StudioX profile, this activity is named Save for Later.

Saves a value for later use in the automation. The saved value can be used as input in another activity.

配置活动

In the Body of the Activity

  • Save to - Click Plus plus button on the right side of the field, then select Save for Later Use and give a name by which to refer to the value in other activities. Alternatively, you can select Use Saved Value to update an existing value that you previously saved for later use in the project, Variables to select a variable created for use in App/Web activities selectors. or Open in Advanced Editor to enter a VB expression.
  • Value to save - Click Plus plus button on the right side of the field, then select one of the options in the menu to indicate the value to save:
    • Data from the Project Notebook, a parent Excel file or email account. For example, you can select a cell in an Excel file or a field in the email selected in Outlook when the project is executed.
    • Use Saved Value - Use another value that you previously saved for later use in the project.
    • Text - Enter text in the Text Builder.
    • Number - Enter a number or formula.
    • “变量” - 选择一个为在 App/Web 活动选取器中使用而创建的变量。
    • 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

9个月前更新


Assign / Save for Later


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

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