Skip to main content

审查工作流程

EnterpriseThis feature is available with an Enterprise plan.

Page summary:

审查工作流定义了用于内容审查的自定义多阶段流程,促进从草稿到发布的协作。本文档演示了如何创建工作流和分配阶段。

审核工作流功能允许你为各种内容类型创建和管理工作流。每个工作流可以包含内容的任何审核阶段,使你的团队能够在从草稿到发布的内容创建流程中进行协作。

🌐 The Review Workflows feature allows you to create and manage workflows for your various content-types. Each workflow can consist of any review stages for your content, enabling your team to collaborate in the content creation flow from draft to publication.

IDENTITY CARD
计划
CMS 企业计划
角色与权限
项目管理面板中的超级管理员角色
激活
默认可用,如需需启用计划
环境
在开发和生产环境中均可用

配置

🌐 Configuration

配置此功能的路径: 设置 > 全局设置 > 审核工作流

为了使审核工作流可以在 内容管理器 中使用,应配置默认工作流或创建新的工作流。

🌐 For the review workflows to be usable in the Content Manager, the default one should be configured or a new one should be created.

默认工作流程配置为包含 4 个阶段:待办、进行中、待审查和已审查。所有 4 个阶段都可以根据需要进行编辑、重新排序或删除,也可以添加新阶段。

🌐 The default workflow is configured to have 4 stages: To do, In progress, Ready to review, and Reviewed. All 4 stages can be edited, reordered or deleted as needed, and it is also possible to add new stages.

创建新工作流程

🌐 Creating a new workflow

  1. 点击 创建新工作流 按钮或工作流的编辑按钮
  2. 在工作流编辑界面中,配置新的工作流: | 设置名称 | 说明 || -------------- | --------------------------------------------------------------------- || 工作流名称 | 为工作流写一个唯一的名称。 || 关联对象 | (可选)将此工作流分配给一个或多个现有内容类型。 || 阶段 | 添加审核阶段(参见 添加新阶段)。
  3. 点击 保存 按钮。新的工作流将显示在列表视图中,并适用于每个分配的内容类型。

编辑工作流程

🌐 Editing a workflow

Workflow edit viewWorkflow edit view

添加新阶段

🌐 Adding a new stage

  1. 点击添加新阶段按钮。
  2. 写下艺名
  3. 选择一个颜色
  4. 选择可以更改阶段的角色,前提是实体当前处于该审核阶段。
  5. 点击 保存 按钮。

默认情况下,新阶段会被追加,但可以随时使用 按钮重新排序。

Tip

要为每个阶段设置角色,你可以点击“应用到所有阶段”将当前角色应用到工作流的所有其他阶段,或者使用阶段上下文菜单中的“复制阶段”。

🌐 To set up roles for each stage, you can either click "Apply to all stages" to apply the current roles to all other stages of the workflow or use "Duplicate stage" of the stage context menu.

复制一个阶段

🌐 Duplicating a stage

  1. 在舞台的上下文菜单中点击 复制舞台
  2. 更改复制阶段的名称。
  3. 点击 保存 按钮。

删除一个阶段

🌐 Deleting a stage

要删除一个阶段,请在该阶段的上下文菜单中点击 ,然后选择删除

如果你删除一个有待审核的阶段,审核将被移到工作流中的第一个阶段。每个工作流必须至少包含一个阶段,因此不可能删除最后一个阶段。

🌐 If you delete a stage that has pending reviews, the reviews will be moved to first stage in the workflow. Every workflow needs to contain at least one stage and therefore it is not possible to delete the last stage.

删除工作流

🌐 Deleting a workflow

要删除工作流,请在列表视图中点击工作流的删除按钮

Note

无法删除最后一个工作流程。

🌐 It is not possible to delete the last workflow.

使用

🌐 Usage

使用此功能的路径: 内容管理器

更改审查阶段

🌐 Changing review stage

随着你的团队创建和修改内容,你可以将内容的审核阶段更改为审核工作流中定义的任何阶段。

🌐 As content is created and revised among your team, you can change the review stage of the content to any stage defined in the review workflow.

  1. 访问你的内容类型的编辑视图。
  2. 在界面右侧的审查工作流框中,点击_审查阶段_下拉列表。
  3. 选择你的条目的新审核阶段。它会自动保存。
Review Stage dropdownReview Stage dropdown

定义受让人

🌐 Defining assignee

审核工作流程内容类型的条目可以分配给 Strapi 中的任何管理员用户进行审核。

🌐 Entries of a review workflow content type can be assigned to any admin user in Strapi for review.

  1. 访问你的内容类型的编辑视图。
  2. 在界面右侧的审查工作流框中,点击_受托人_下拉列表。
  3. 选择你的条目的新受让人。它会自动保存。
Review Stage dropdownReview Stage dropdown