工作流资源类型

命名空间: microsoft.graph.identityGovernance

表示使用生命周期工作流创建的工作流。 当由执行条件触发时,工作流会使用任务自动执行生命周期管理过程的某些部分。 这些任务可以是内置任务,也可以使用与 Azure 逻辑应用集成的自定义任务扩展调用自定义任务。

一个租户中最多可以创建 100 个工作流。

继承自 workflowBase。

方法

方法 返回类型 Description
List microsoft.graph.identityGovernance.workflow 集合 获取 工作流 对象及其属性的列表。
创建 microsoft.graph.identityGovernance.workflow 创建新的 工作流 对象。
Get microsoft.graph.identityGovernance.workflow 读取 工作流 对象的属性和关系。
更新 microsoft.graph.identityGovernance.workflow 更新 工作流 对象的属性。
删除 无 删除 工作流 对象。
Activate 无 按需运行工作流。
使用作用域激活 无 使用特定范围按需运行工作流。
激活并等待 microsoft.graph.identityGovernance.awaitedWorkflowProcessingResult 激活主题的工作流并同步等待完成。
列出范围内的用户 Microsoft.Graph.User 集合 获取 工作流 对象执行条件范围内的用户列表。
清除隔离区 microsoft.graph.identityGovernance.workflow 发布隔离的工作流,以便它继续处理。
预览任务失败 microsoft.graph.identityGovernance.previewFailedTask 集合 验证工作流中配置的任务,以检查配置错误。
预览工作流 无 在预览模式下为选定的目录对象运行工作流,而不会影响生产用户。
已删除的工作流 :--- :---
List microsoft.graph.identityGovernance.workflow 集合 获取已删除 工作流 对象及其属性的列表。
Get microsoft.graph.identityGovernance.workflow 获取已删除 的工作流。
还原 microsoft.graph.identityGovernance.workflow 还原已删除的工作流。
永久删除 无 从已删除邮件容器中永久删除 工作流 对象。

属性

属性 类型 说明
“类别” microsoft.graph.identityGovernance.lifecycleWorkflowCategory 使用此模板创建的工作流支持的 HR 职能的类别。 一个工作流只能属于一个类别。 可能的值包括 joiner、leaver、unknownFutureValue、mover、extensibility。 使用 Prefer: include-unknown-enum-members 请求标头获取此 可进化枚举中的以下成员: mover, extensibility. 继承自 workflowBase。 必填。

支持 $filter (eq、ne) 和 $orderby
createdDateTime DateTimeOffset 创建时 workflow 。 继承自 workflowBase。

支持 $filter (lt、 le、 gt、 ge、 eq) ne 和 $orderby。
deletedDateTime DateTimeOffset 删除工作流的时间。

支持 $filter (lt、 le、 gt、 ge、 eq) ne 和 $orderby。
description String 的 workflow说明。 继承自 workflowBase。 可选。
displayName String 的 workflow显示名称。 继承自 workflowBase。 必填。

支持 $filter (、) 和 neorderby.eq
executionConditions microsoft.graph.identityGovernance.workflowExecutionConditions 描述何时执行工作流的条件以及识别范围内主题集的条件。 继承自 workflowBase。 必需。
id String 用于单独处理特定工作流的标识符。

支持 $filter (、) 和 ne$orderby.eq
isEnabled Boolean 是否启用或禁用工作流。 如果此设置为 true,则可以在 isSchedulingEnabled 为 true时按需或按计划运行工作流。 继承自 workflowBase。 可选。 默认为 true。

支持 $filter (、) 和 neorderBy.eq
isSchedulingEnabled 布尔值 如果 ,则 true生命周期工作流引擎将根据 租户设置定义的计划执行工作流。 不能 true 适用于) isEnabledfalse 的禁用工作流 (。 继承自 workflowBase。 可选。 默认为 false。

支持 $filter (、) 和 neorderBy.eq
lastModifiedDateTime DateTimeOffset 上次修改 的 workflow 日期时间。 继承自 workflowBase。

支持 $filter (lt、 le、 gt、 ge、 eq) ne 和 $orderby。
nextScheduleRunDateTime DateTimeOffset 如果有任何用户与执行条件匹配,则根据计划间隔预计下次运行 的 workflow 日期时间。

支持 $filter (lt、gt) 和 $orderby.
quarantineDetails microsoft.graph.identityGovernance.quarantineDetails 工作流的当前隔离状态。 只读。
settings microsoft.graph.identityGovernance.workflowSetting 工作流的设置,包括其隔离配置。
version Int32 工作流的当前版本号。 首次创建工作流时,值为 1。

支持 $filter (lt、 le、 gt、 ge、 eq) ne 和 $orderby。

关系

关系 类型 说明
administrationScopeTargets microsoft.graph.directoryObject 集合 工作流范围内的 管理单元 。 可选。 继承自 workflowBase。

支持 $expand。
createdBy user 创建工作流对象的 Microsoft Entra 用户的唯一标识符。 继承自 workflowBase。

支持 $filter (、) 和 ne$expand.eq
executionScope Microsoft.Graph.User 集合 满足工作流的 workflowExecutionConditions 的用户列表。
lastModifiedBy user 上次修改 工作流 对象的用户。 继承自 workflowBase。

支持 $filter (、) 和 ne$expand.eq
previewScope microsoft.graph.directoryObject 集合 工作流的预览范围。
运行 microsoft.graph.identityGovernance.run 集合 工作流运行。
subjectProcessingResults microsoft.graph.identityGovernance.subjectProcessingResult 集合 每个主题的工作流执行结果。
taskReports microsoft.graph.identityGovernance.taskReport 集合 表示 工作流 对象中任务的任务执行数据的聚合。
tasks microsoft.graph.identityGovernance.task 集合 表示工作 流 对象中要执行的配置任务及其执行顺序。 继承自 workflowBase。 必填。
userProcessingResults microsoft.graph.identityGovernance.userProcessingResult 集合 每用户工作流执行结果。
版本 microsoft.graph.identityGovernance.workflowVersion 集合 可用的工作流版本。

JSON 表示形式

以下 JSON 表示形式显示资源类型。

{
  "@odata.type": "#microsoft.graph.identityGovernance.workflow",
  "category": "String",
  "createdDateTime": "String (timestamp)",
  "description": "String",
  "displayName": "String",
  "executionConditions": {
    "@odata.type": "microsoft.graph.identityGovernance.workflowExecutionConditions"
  },
  "lastModifiedDateTime": "String (timestamp)",
  "deletedDateTime": "String (timestamp)",
  "id": "String (identifier)",
  "isEnabled": "Boolean",
  "isSchedulingEnabled": "Boolean",
  "nextScheduleRunDateTime": "String (timestamp)",
  "version": "Integer",
  "quarantineDetails": {
    "@odata.type": "microsoft.graph.identityGovernance.quarantineDetails"
  },
  "settings": {
    "@odata.type": "microsoft.graph.identityGovernance.workflowSetting"
  }
}