UiPath Documentation
marketplace
latest
false
重要 :
请注意,此内容已使用机器翻译进行了本地化。 新发布内容的本地化可能需要 1-2 周的时间才能完成。
UiPath logo, featuring letters U and I in white

Marketplace 用户指南

上次更新日期 2026年4月1日

创建活动

概述

The Create Event activity calls the Microsoft Graph CreateEvent API to create a new event object (Event) in your specified team (TeamId).

After creating your new event, the activity outputs the identifier (EventId) as a String that you can use as an input variable in subsequent activities (for example, Delete Event).

工作方式

The following steps and message sequence diagram is an example of how the activity works from design time (that is, the activity dependencies and input/output properties) to run time.

  1. 完成设置步骤。
  2. Add the Microsoft Teams Scope activity to your project.
  3. Add an activity or run an external process that outputs a Team.Id value (e.g., Get Teams).
  4. Add the Create Event activity inside the Microsoft Teams Scope activity.
  5. Enter values for the Input properties, including a new Event variable.
  6. Create and enter a String variable for your Output property.
  7. 运行活动。
    • 您的输入属性值将发送到创建事件API。

    • API 会将事件 ID String 值返回到输出属性变量。

      docs image

属性

将此活动添加到 UiPath Studio 中的项目时,会指定以下属性的值。

常见

显示名称

活动的显示名称。

属性详细信息
类型String
必填
默认值创建活动
允许的值输入 StringString 变量。
注意不适用

输入

事件

表示新事件的 Event 对象。

属性详细信息
类型Event
必填
默认值空白
允许的值输入Event变量。
注意Because you're creating a new event, the Event object does not yet exist. To create the Event object variable that represents your new event, enter the following as your variable Default value: new Microsoft.Graph.Event(). The variable you create for this property can be used as an input variable in subsequent activities (for example, Delete Event).
团队 ID

要在其中创建事件的 Team 对象的 ID。

属性详细信息
类型String
必填
默认值空白
允许的值输入 StringString 变量。
注意To get the Team.Id value, use an external process or activity that includes the Team.Id value in its output (for example, Get Teams or external API call)

其他

私有

如果已选择,变量和参数的值将不会在 Verbose 级进行记录。

属性详细信息
类型复选框
必填
默认值未选中
允许的值已选择或未选择
注意不适用

输出

活动 ID

分配给新 Event 对象的标识符。

属性详细信息
类型String
必填否(如果您计划在后续活动中使用输出数据,则为必填项)
默认值空白
允许的值输入String变量。
注意The variable you create for this property can be used as an input variable in subsequent activities (for example, Delete Event).
  • 概述
  • 工作方式
  • 属性
  • 常见
  • 输入
  • 其他
  • 输出

此页面有帮助吗?

连接

需要帮助? 支持

想要了解详细内容? UiPath Academy

有问题? UiPath 论坛

保持更新