--- title: "データ修正とレビューの処理" slug: "corrections-to-process-data-and-review-thereof" updated: 2026-10-22T10:58:11Z published: 2026-10-22T10:58:11Z canonical: "support.tulip.co/corrections-to-process-data-and-review-thereof" --- > ## Documentation Index > Fetch the complete documentation index at: https://support.tulip.co/llms.txt > Use this file to discover all available pages before exploring further. # データ修正とレビューの処理 *本記事では、バッチの修正を記録する際の現在のベストプラクティスについて解説します。* 「完了記録」を介して記録されたプロセスデータは変更不可ですが、元の記録の上に新しいデータエントリとして「メモ」を作成することで、修正を追加することができます。 同じレコードを更新する場合(新しい要件の追加を含む)については、「[レコード履歴ウィジェット](/r230/docs/record-history-widgets)」を参照してください。 ## 概要 - 一般的な「**修正の送信**」ステップを使用して、理由コードやコメントを記録します。 - **「ステップ終了時**トリガー」を使用して、プロセスの現在のステップを「**前のステップ**変数」または「テーブル Field」に保存します。この際、**「Is Correction**」は現在**False** になっている必要があります。 - 「**Is Correction**」ブール変数を使用し、「**修正の送信**」ステップに移動する際に、そのデフォルト値を**「Yes」**に設定します。これにより、eBR レビュー アプリでの可視性が向上します。 - 「**修正の送信**」情報の送信後、ユーザーを前のステップ(変数またはテーブルフィールドに保存されているもの)に戻します。 - **前のステップ**で、オペレーターは新しい情報を入力し、次のステップに進みます。 ## ソリューションの手順 この機能は、[一時停止および再開機能に対して](/r230/docs/pause-and-resume-functionality)堅牢であることが極めて重要です。1. 「**Batches**」テーブルに、完了した前のプロセスステップを格納するためのテキストフィールドを追加します。このフィールドに「**Previous Process Step**」という名前を付けます。 1. アプリのベースレイアウトで、次のような**「ステップ終了時」の**ステップレベルトリガーを作成します:![Robustness to App Cancellations - App Base Layout - On Step Exit Trigger v2.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Robustness%20to%20App%20Cancellations%20-%20App%20Base%20Layout%20-%20On%20Step%20Exit%20Trigger%20v2.png) 2. アプリ内で、「**Submit Correction Context**」という名前のステップを作成し、以下を含めます: 3. Input Widget:単一選択入力フィールドを介して修正理由コードを、テキスト入力フィールドを介して「修正コメント」をキャプチャします。 4. オペレーターがこのステップから戻ることができる「**前の**ステップ」または「**キャンセル**」ボタン。 ![Robustness to App Cancellations - App - Submit Correction Context Step 2.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Robustness%20to%20App%20Cancellations%20-%20App%20-%20Submit%20Correction%20Context%20Step%202.png) 1. **[Submit**] ボタンを作成し、以下のトリガーロジックを設定します: 2. アクション:データ操作 → 保存 → 静的値 → 「yes」 → 「**Is Correction**」という名前のブール変数 3. アクション:アプリ → すべてのアプリデータを保存 4. 遷移:名前でステップに移動 → テーブルレコード / バッチ / 前のプロセスステップ ![Robustness to App Cancellations - App - Submit Correction Context - Submit Button Trigger.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Robustness%20to%20App%20Cancellations%20-%20App%20-%20Submit%20Correction%20Context%20-%20Submit%20Button%20Trigger.png) 1. 「**修正を送信」コンテキスト**ステップの前のステップで、以下のトリガーロジックを持つ「**次へ**」ボタンを作成します: 2. アクション:データ操作 → クリア → (このステップで使用される各変数) 3. 注:このステップに存在する変数は、後続のステップでの計算には必要ありません。この方法により、eBR Review や eDHR Review などのアプリで表示される「レコード履歴」ウィジェットが整理されます。 4. アクション:データ操作 → 保存 → 静的値 → ブール値 → いいえ →**修正であるか** 5. アクション:データ操作 → クリア → (「**修正の送信(コンテキスト**)」ステップで使用された各変数) 6. アクション:アプリ → すべてのアプリデータを保存 7. 遷移:ステップへ移動 → 次へ ![Robustness to App Cancellations - App - Process Steps - Next button Trigger logic.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Robustness%20to%20App%20Cancellations%20-%20App%20-%20Process%20Steps%20-%20Next%20button%20Trigger%20logic.png) Digital Record History ウィジェットでバッチを確認する際、古い順から新しい順に並べ替え、アプリステップ名でフィルタリングすると、次のように表示されます:* 「**Is Correction**」の値が「No」であるプロセスステップについて、さまざまな変数と値を含む、ログに記録されたプロセスデータ![image.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28409%29.png) - 同じプロセスステップのログ記録されたプロセスデータですが、「**Is Correction**」の値が「Yes」であり、変数値が更新されています - 「**Submit Correction Context」**ステップからのコンテキスト(例:修正理由コード)![image.png](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/image%28410%29.png) NOTE You do not need to filter the Record History Widget by the step with the correction. Without that filter, the reviewer will see the full history of the Batch. **Table Record Field** **Table Record Fields** are single columns within a **Tulip Table.** ![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Table%20Record%20Field(1).gif) **Input Widget** **Input widgets** are a set of **Widgets** specifically designed for users to enter information. Input widgets must be associated with a location where the user input is stored. **Digital Record History Widget** The **DRH Widget** allows users to review the changes that have occurred to a **Record.** Traceability to changes is critical in a **GxP** Environment.