> 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/step-execution-limit.md).

# ステップ実行の上限値

ソリューションの各ステップが上限値を過度に超えないように、設定等にご注意ください。\
Anyflow Embed の仕様変更により随時更新される可能性があります。\
適宜、Anyflow CSチームにご相談ください。

### アクション実行の上限値

* 1つのアクションステップで処理するデータサイズは、`10MB以内` を目安としてください。
* ただしトリガーがポーリングトリガーの場合は、並列実行される可能性が高いため`1MB以内`を目安としてください。
* 特に注意が必要なアクション：[キーバリューストア](/solution-editor/actions/data-store/kvs.md), [CSVアクション](/solution-editor/actions/data-transform/csv.md), [Responseステップ](/solution-editor/triggers/outgoing/request-triggers/response-step.md) 等

{% hint style="success" %}
「アクション実行の上限値」は**目安（ソフトリミット）**&#x3067;す。

「10MB」を見積もるのが難しい場合は、処理するレコードの件数で想定することを推奨しております。

実際に扱うデータの内容にもよりますが、保守的に見積もった場合「10MB」 = 「レコード1,000件」が目安です。
{% endhint %}

### トリガー実行の上限値

{% hint style="warning" %}
「アクション実行の上限値」は**絶対値（ハードリミット）**&#x3092;含みます。
{% endhint %}

自社プロダクトからAnyflowにリクエストを送る形式のトリガーについて、

* リクエストサイズの上限は`20MB`が目安（ソフトリミット）です。
* リクエスト回数の上限は `10秒間で50リクエスト`が絶対値（ハードリミット）です。

該当するトリガー：[Webhookトリガー](/solution-editor/triggers/outgoing/webhook.md)、[Requestトリガー](/solution-editor/triggers/outgoing/request-triggers.md)、[My Eventトリガー](/solution-editor/triggers/outgoing/my-event.md)

***

### ログ保存の上限値 <a href="#save-log-limit" id="save-log-limit"></a>

{% hint style="warning" %}
「ログ保存の上限値」は目安ではなく**絶対値（ハードリミット）**&#x3067;す。
{% endhint %}

各ステップのログは100MBを上限値としており、上限を超えたログは省略されます。

<figure><img src="/files/kx8ELJ3xgNdgxDlAgmc3" alt="" width="331"><figcaption></figcaption></figure>

* 入力値と出力値の合計サイズが100MBを超えている場合に省略されます。
* 省略されたログはAnyflowの内部データベースにも保存されません。
* サイズの判定は1ステップごとに行われます。
* 判定およびログの保存が行われるタイミングは、すべてのステップが完了した後です。そのため、ログのサイズが100MBを超えてもステップの実行自体は正しく行われます。
* ただし [Responseステップ](/solution-editor/triggers/outgoing/request-triggers/response-step.md) だけは仕組み上、ログサイズが100MBを超えた場合、レスポンスの中身が空になるなど正常ではない返却となります。

### ソリューション実行の上限値 <a href="#save-log-limit" id="save-log-limit"></a>

{% hint style="warning" %}
「ソリューション実行の上限値」は目安ではなく**絶対値（ハードリミット）**&#x3067;す。
{% endhint %}

ソリューションの実行時間のタイムアウト値は`12時間`です。


---

# 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/ops/step-execution-limit.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.
