Skip To Content

管理依赖关系

依赖关系用于将作业置于暂停状态并阻止步骤在另一个作业或另一个作业中的步骤完成之前运行。

添加依赖关系

按照以下步骤添加依赖关系:

  1. Access the Workflow Manager web app.
  2. 管理工作页面上选择要添加依赖关系的作业。
  3. Expand the Details panel if necessary.
  4. Click the Holds tab Holds.
    注:

    The Holds tab won't appear if you don’t have sufficient privileges.

  5. 已阻止步骤部分中,单击添加依赖关系按钮 Add Dependency
    注:

    如果您没有足够的权限,则添加依赖关系按钮 Add Dependency 不会显示。

    阻停项面板中将显示添加新依赖关系部分。

  6. 单击要暂停的步骤下拉箭头,然后选择要添加依赖关系的步骤。
  7. 相关作业 ID 文本框中,键入要用于阻止当前作业运行的作业的作业 ID。
  8. (可选)打开相关步骤开关按钮,然后单击相关步骤下拉箭头以选择要用于阻止当前作业运行的步骤。

    如果未配置相关步骤,则当前作业只能在完成相关作业后运行。

  9. 单击保存按钮 Save

    将显示一条确认消息并将依赖关系添加至作业。

解除依赖关系

按照以下步骤解除依赖关系:

  1. Access the Workflow Manager web app.
  2. 管理工作页面上选择包含要解除的依赖关系的作业。
  3. Expand the Details panel if necessary.
  4. Click the Holds tab Holds.
    注:

    The Holds tab won't appear if you don’t have sufficient privileges.

  5. 已阻止步骤部分中,将光标悬停在包含依赖关系的步骤上,然后单击解除依赖关系按钮 Release Dependency
    注:

    如果您没有足够的权限,则解除依赖关系按钮 Release Dependency 不会显示。

    随即显示解除对话框。

    提示:

    You can type a keyword in the Search Holds text box to filter the list to holds and dependencies that contain the keyword. You can also switch between active and released holds and dependencies by clicking Active Holds or Released Holds.

  6. 单击解除解除依赖关系。

    将显示一条确认消息并将依赖关系从作业中移除。

相关主题