> For the complete documentation index, see [llms.txt](https://docs-embed.anyflow.jp/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-embed.anyflow.jp/ops/solution-history/for-endusers.md).

# エンドユーザー向け実行履歴

## 概要

Anyflow Embed のウィザードでは、エンドユーザーにソリューションの実行履歴を表示する機能を持っています。\
これにより、過去の実行成否や、失敗の場合のメッセージなどをエンドユーザーが確認できます。

<figure><img src="https://files.readme.io/60ed6b9-image.png" alt="ソリューションの実行履歴" width="375"><figcaption><p>ソリューションの実行履歴</p></figcaption></figure>

SDKでは[loadHistoryメソッド](/anyflow-sdk/docs.md#load-history)を使うことで実行履歴がウィザードに表示されます。

{% tabs %}
{% tab title="TypeScript" %}

```typescript
solutionWizard.loadHistory("your_solution_id");
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
solutionWizard.loadHistory("your_solution_id");
```

{% endtab %}
{% endtabs %}

ウィザードホスティングの場合は「設定済連携一覧」の画面から「実行履歴」ボタンを押すことで実行履歴がウィザードに表示されます。

<figure><img src="https://files.readme.io/676d13b-image.png" alt="ウィザードホスティングの場合"><figcaption><p>ウィザードホスティングの場合</p></figcaption></figure>

## ログメッセージについて

エラーが発生した場合には、エラーの内容がログとして表示されます。

<figure><img src="https://files.readme.io/b1d0941-image.png" alt="" width="375"><figcaption></figcaption></figure>

その他にも、\
[ログアクション](/solution-editor/actions/data-store/log.md)を使用して実行過程の内容を表示させたり、\
停止ステップを使用して強制的に実行を停止した際のメッセージを表示させたりすることができます。


---

# 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-embed.anyflow.jp/ops/solution-history/for-endusers.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.
