> For the complete documentation index, see [llms.txt](https://docs.avonnicomponents.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avonnicomponents.com/experience-cloud/experience-cloud-ja/puropatipaneru/interactions/open-confirm.md).

# 確認ダイアログを開く

アクションの実行前に確認ダイアログを表示し、意図しない操作を防ぐために、ユーザーが明示的に確認またはキャンセルするよう求めます。

## 概要

Salesforce Experience Cloud の「確認を開く」インタラクションは、確認が必要なアクションが開始されたときに、ユーザーに確認ダイアログを表示するよう設計されています。ユーザーによる承認を必要とすることで、意図しない操作を防止します。

コンポーネントのインタラクションで **タイプ** ドロップダウンでは、次のように表示されます **確認ダイアログを開く**.

## 設定

| 名前          | 説明                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **`ラベル`**   | 通常は質問または決定を促す、確認モーダルのタイトルです。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| **`メッセージ`** | 本文テキストには、確認が必要なアクションの詳細を示します。                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| **`バリアント`** | <ul><li><code>ヘッダー</code> （デフォルト）：モーダルにはヘッダーが含まれます。</li><li><code>ヘッダーなし</code>：モーダルにはヘッダーが含まれません</li></ul>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| **`テーマ`**   | <ul><li><p>モーダルの視覚的なスタイルを定義します。次のオプションがあります。</p><ul><li><code>デフォルト</code> （デフォルト）：標準的な外観と操作感。</li><li><code>shade</code>：わずかな影またはオーバーレイ。</li><li><code>inverse</code>：色が反転されます。</li><li><code>alt inverse</code>：標準の inverse に代わる選択肢。</li><li><code>success</code>：アクションまたは状態が成功したことを示す緑色のテーマ。</li><li><code>info</code>：情報メッセージ用の青色のテーマ。</li><li><code>warning</code>：注意を促すメッセージ用の黄色／オレンジ色のテーマ。</li><li><code>error</code>：エラーメッセージ用の赤色のテーマ。</li><li><code>offline</code>：接続がないこと、またはオフライン状態であることを示します。</li></ul></li></ul>                                                                                                                                                                                                                                                                             |
| **`確認時`**   | <p>ユーザーがアクションを確認したときに実行するインタラクションです。使用できるインタラクション：</p><ul><li><code>トーストを表示</code>：ページ上部に短いメッセージを表示します。 <a href="https://docs.avonnicomponents.com/experience-cloud/experience-cloud-ja/puropatipaneru/interactions/show-toast.md">詳細はこちら</a>.</li><li><code>フローダイアログを開く</code>：ダイアログボックスで Salesforce フローを開始します。 <a href="https://docs.avonnicomponents.com/experience-cloud/experience-cloud-ja/puropatipaneru/interactions/open-flow-dialog.md">詳細はこちら</a>.</li><li><code>フローパネルを開く</code>：サイドパネルで Salesforce フローを実行します。 <a href="https://docs.avonnicomponents.com/experience-cloud/experience-cloud-ja/puropatipaneru/interactions/open-flow-panel.md">詳細はこちら</a>.</li><li><code>すべてのクエリを更新</code>：ページ上のすべてのクエリデータソースを再実行します。</li></ul><p>フローパネルをサポートするコンポーネントでは、 <code>フローパネルを開く</code> も提供されます。</p> |

## 例

リストの行アクションからケースをクローズする前に、パートナーに確認させたい場合を考えてみましょう。

1. 行アクションで、インタラクションを設定します **タイプ** を **確認ダイアログを開く**.
2. 次を設定します **ラベル** を「このケースをクローズしますか？」にし、 **メッセージ** を「このケースはポータルから再オープンできません。」にします
3. 次をそのままにします **バリアント** オン `ヘッダー` そして、次を選択します `警告` **テーマ** これにより、ダイアログが注意を促す内容として表示されます。
4. 次の項目で **確認時**で、実際にケースをクローズするインタラクションを追加します。たとえば、 **フローダイアログを開く** Close Case フローを実行し、その後に **すべてのクエリを更新** を追加して、リストに変更を反映します。

ユーザーが確認しない限り何も実行されません。ダイアログをキャンセルすると、チェーンは終了します。

## 重要な考慮事項

* 元に戻せないアクションは、次の後に配置します **確認時**であり、ダイアログの前には配置しないでください。このインタラクションは確認時にのみ分岐します。
* 次の文言を設定します **ラベル** を質問として、また **メッセージ** を結果として使用し、2 つのボタンの意味が明確になるようにします。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.avonnicomponents.com/experience-cloud/experience-cloud-ja/puropatipaneru/interactions/open-confirm.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
