命名空间: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 | 更新 工作流 对象的属性。 |
| 删除 | None | 删除 工作流 对象。 |
| Activate | None | 按需运行工作流。 |
| 列出范围内的用户 | microsoft.graph.user 集合 | 获取处于 工作流 对象执行条件范围内的用户列表。 |
| 已删除的工作流 | :--- | :--- |
| List | microsoft.graph.identityGovernance.workflow 集合 | 获取已删除的 工作流 对象及其属性的列表。 |
| Get | microsoft.graph.identityGovernance.workflow | 获取已删除的 工作流。 |
| 还原 | microsoft.graph.identityGovernance.workflow | 还原已删除的工作流。 |
| 永久删除 | None | 从已删除的项容器中永久删除 工作流 对象。 |
属性
| 属性 | 类型 | 说明 |
|---|---|---|
| “类别” | microsoft.graph.identityGovernance.lifecycleWorkflowCategory | 使用此模板创建的工作流支持的 HR 函数类别。 一个工作流只能属于一个类别。 可能的值包括 joiner、leaver、mover、unknownFutureValue。 继承自 workflowBase。 必填。支持 $filter (eq、ne) 和 $orderby |
| createdDateTime | DateTimeOffset |
workflow创建 时。 继承自 workflowBase。支持 $filter (lt、le、、gegt、 neeq) 和 $orderby。 |
| deletedDateTime | DateTimeOffset | 删除工作流时。 支持 $filter (lt、le、、gegt、 neeq) 和 $orderby。 |
| description | String | 的说明 workflow。 继承自 workflowBase。 可选。 |
| displayName | String | 的 workflow显示名称。 继承自 workflowBase。 必填。支持 $filter (eq、 ne) 和 orderby。 |
| executionConditions | microsoft.graph.identityGovernance.workflowExecutionConditions | 描述何时执行工作流的条件以及用于标识范围内主题集的条件。 继承自 workflowBase。 必需。 |
| id | String | 用于单独寻址特定工作流的标识符。 支持 $filter (eq、 ne) 和 $orderby。 |
| isEnabled | Boolean | 是启用还是禁用工作流。 如果此设置为 true,则当 IsSchedulingEnabled 为 true时,可以按需或按计划运行工作流。 继承自 workflowBase。 可选。 默认为 true。支持 $filter (eq、 ne) 和 orderBy。 |
| isSchedulingEnabled | 布尔值 | 如果 true为 ,则生命周期工作流引擎根据 租户设置定义的计划执行工作流。
true对于) isEnabledfalse 的已禁用工作流 (,不能为 。 继承自 workflowBase。 可选。 默认为 false。支持 $filter (eq、 ne) 和 orderBy。 |
| lastModifiedDateTime | DateTimeOffset | 上次修改 的日期时间 workflow 。 继承自 workflowBase。支持 $filter (lt、le、、gegt、 neeq) 和 $orderby。 |
| nextScheduleRunDateTime | DateTimeOffset | 如果有任何用户与执行条件匹配,则根据计划间隔预计下一次运行 的日期时间 workflow 。 支持 $filter (lt、gt) 和 $orderby。 |
| version | Int32 | 工作流的当前版本号。 首次创建工作流时,值为 1。 支持 $filter (lt、le、、gegt、 neeq) 和 $orderby。 |
关系
| 关系 | 类型 | 说明 |
|---|---|---|
| createdBy | user | 创建工作流对象的Microsoft Entra用户的唯一标识符。 继承自 workflowBase。 支持 $filter (eq、 ne) 和 $expand。 |
| executionScope | microsoft.graph.user 集合 | 满足 工作流工作流ExecutionConditions 的用户列表。 |
| lastModifiedBy | user | 上次修改 工作流 对象的用户。 继承自 workflowBase。 支持 $filter (eq、 ne) 和 $expand。 |
| 运行 | microsoft.graph.identityGovernance.run 集合 | 工作流运行。 |
| 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"
}