- 入门指南
- 面向 Administrator
- RPA 工作流项目
- 应用程序项目
- 智能体流程
- Maestro 案例
- Maestro 流程
- Agents (智能体)
- Solutions (解决方案)
- API 工作流
- 测试
Studio Web 工作流中的变量,包括它们如何存储活动输出,并使数据能够在步骤之间流动,并支持自动变量生成。
An essential part of any automation is moving data from one step in the workflow to another. Variables save the output of one activity and enable you to then use that data as input in other activities later in a project. To make it easier to work with variables, Studio Web automatically generates a variable for every activity output. You can also manually create variables from the Data Manager or from the See more
menu of activity fields. Note that automatically generated variables for activities placed inside a scope activity are only available inside that scope activity.
每个活动输出都会生成特定数据类型的变量,其中可能包含输出数据的各种属性。然后,当您在另一个活动中使用它时,您可以根据所需的数据和该活动支持的类型为属性选择变量。
To use a variable in an activity, select See more
> Use Variable next to an input field or select a field labeled Click to use a variable. You can also add variables inside other editors and builders like the text builder and the rich text composer. The variable selection window displays all the variables and arguments in the project.
- Studio Web 为活动输出自动生成的变量会显示在生成它们的活动下。
- You can navigate to the variable property you want to use, or use the search bar to find it. For some variables, the most common properties appear at the top of the list, and you can view all available properties by selecting Show more.
- 由于变量属性和活动字段可以具有不同的数据类型,因此并非所有变量都可以在所有字段中使用。
- 每个变量旁边的图标表示类型,例如 Tt 表示文本,123 表示数字,1.2 表示带小数的数字。
例如,当您构建由 Gmail 中的已收到电子邮件事件触发的自动化时,触发器活动的输出(检索到的电子邮件)会自动保存为变量,该变量存储检索到的电子邮件以及电子邮件的所有独立属性,例如发件人、主题、正文、附件等。
如果您添加转发电子邮件活动以自动转发检索到的电子邮件,则您选择电子邮件变量以指明要转发的电子邮件。
如果添加写入单元格活动以在电子表格中写入发件人的电子邮件地址,则选择“发件人地址”属性变量以指定要在电子表格中写入的内容。