> 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/wizard-editor/widget/table-assist.md).

# テーブルアシスト

## 概要

テーブルアシストは、エンドユーザーがテーブル形式で項目を選択することが可能なウィジェットです。\
[アシスト](/wizard-editor/widget/assist.md)と同様に、対象SaaSのAPIを呼び出してエンドユーザーごとに異なる値を動的に表示します。

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

## 絞り込みについて

表示件数が多い場合は、「絞り込み」を使うことで条件に合ったデータのみに絞り込むことができます。

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

条件式は、「かつ」 or「または」どちらかで連結することができます。両方を併用することはできません。

可能：A かつ B かつ C\
不可能：A かつ B `または` C

現在利用できる条件は以下のとおりです。

<table><thead><tr><th width="227.66015625">条件</th><th width="180.625">入力方法</th></tr></thead><tbody><tr><td>を含む / 含まない</td><td>文字列</td></tr><tr><td>と等しい / 等しくない</td><td>文字列</td></tr><tr><td>より大きい / 小さい</td><td>数字</td></tr><tr><td>以上 / 以下</td><td>数字</td></tr><tr><td>より前の日付 / 後の日付</td><td>カレンダー</td></tr></tbody></table>

## 管理画面での設定方法

エンドユーザー変数の型&#x304C;**「チェックボックス/複数選択アシスト/テーブルアシスト」**&#x306E;場合に利用できます。

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

テーブルアシストで表示される項目や、順序についてはウィザードエディターにて設定を行うことが可能です。

<figure><img src="https://files.readme.io/51fee47-Screen_Shot_2023-08-28_at_2.18.55_PM.png" alt="右ペインから、項目（カラム）の入れ替えや表示、非表示の設定を行うことが可能" width="600"><figcaption><p>右ペインから、項目（カラム）の入れ替えや表示、非表示の設定を行うことが可能</p></figcaption></figure>

エンドユーザーが選択した値は、配列形式で格納されソリューション内で使用できます。

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

```json
['0762970a-1064-4a9b-9dee-a4b28beae27c', '0a5134d5-74a8-4e83-983e-cf2802a2a6f4']
```

{% hint style="success" %}

### ヒント

アシストでは、エンドユーザーに表示される文字列（ラベル）とソリューション内で使用する値は基本的に異なります。

SmartHRの「従業員一覧」のテーブルアシストでは、\
エンドユーザーへの表示：社員番号・氏名・部署などの情報\
ソリューション内での値：従業員ID\
となります。
{% endhint %}

## 使用例

以下の例では、[繰り返しステップ](/solution-editor/logic/loop.md)を使って、エンドユーザーが選択した全ての従業員の情報を取得する方法を紹介します。

「繰り返すリスト」にエンドユーザー変数（従業員IDの配列）を指定します。

<figure><img src="https://files.readme.io/1e4e5c4-image.png" alt=""><figcaption></figcaption></figure>

繰り返しステップの中でSmartHRの「従業員を取得」アクションを設定し、

「従業員ID」には繰り返しの「選択された値」を指定します。

<figure><img src="https://files.readme.io/41485a9-image.png" alt=""><figcaption></figcaption></figure>

これにより、エンドユーザーが選択した全ての従業員の情報を取得できます。


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs-embed.anyflow.jp/wizard-editor/widget/table-assist.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
