Legacy Knowledge Base
公開されました Jul. 2, 2025

OOTB 'Single Approver Workflow' で通知を調整して、特定のユーザーに基づいて特定の Web コンテンツを承認する方法

Written By

Kanchan Bisht

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • 特定の Web コンテンツに対して特定のユーザーに「単一承認ワークフロー」を適用する方法。
    • 使用事例
      • ユーザーによって作成/編集された Web コンテンツ 1 3 - 通知は承認者 (ユーザー 1) に送られる必要があります
        ユーザーによって作成/編集された Web コンテンツ 2 4 - 通知は承認者 (ユーザー 2) に送られる必要があります

Environment

  • Liferay DXP 7.3

解決策

  • ワークフローは、アセット タイプによって割り当てられます。 したがって、ワークフローが「Web コンテンツ」に割り当てられると、すべての Web コンテンツに適用されます。
  • 上記のユース ケース ロジックを実現するには、何らかのカスタマイズ (ワークフロー定義) が必要です。
  • 注: ただし、Liferay の OOTB ワークフローにはオプションがあります
    • 特定の役割、 役割タイプ (組織、サイト、または通常の役割タイプ) の複数の役割、 資産作成者、 リソース アクション、または の特定のユーザーに割り当てを追加します。workflow-assessments.png
    • さらに、割り当てを定義するスクリプトを作成することもできます。
      • <assignments>
        <roles>
        <role>
        <role-type>organization</role-type>
        <name>Organization Administrator</name>
        <auto-create>false</auto-create>
        </role>
        <role>
        <role-type>organization</role-type>
        <name>Organization Content Reviewer</name>
        <auto-create>false</auto-create>
        .........
        .........
        .........
        .........
        </assignments>
Did this article resolve your issue ?

Legacy Knowledge Base