> For the complete documentation index, see [llms.txt](https://help.autify.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.autify.com/nocode-web/autify-university/foundation/creating-a-scenario/dynamic-value-generation.md). Agents can also search and read this documentation through its [MCP server](https://help.autify.com/~gitbook/mcp).

# 動的な値の生成

「動的な値」は、ランダムな文字列 (乱数) や日付などの毎回変わる動的な値を、JSステップなしで生成することができる機能です。

動的な値をシナリオに追加するには、`ステップを挿入` > `動的な値` を選択してください。

![](https://50135409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof7cb8AGXhWvWThq3R0w%2Fuploads%2Fgit-blob-2d45ac6bba0f461960dca0d5242a45125238c4f6%2FScreen%20Shot%202022-07-14%20at%2015.43.17.png?alt=media)

利用できる動的な値は以下の通りです。

* 動的な日付
* ランダムな文字列
* ランダムな整数

![](https://50135409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof7cb8AGXhWvWThq3R0w%2Fuploads%2Fgit-blob-776e3772b9d9c50310fc0f8ee51db74677fb56de%2FScreen%20Shot%202022-07-14%20at%2015.44.03.png?alt=media)

ステップの詳細を開くと、選択した動的な値の説明を見ることができます。

![](https://50135409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof7cb8AGXhWvWThq3R0w%2Fuploads%2Fgit-blob-6aff638a4feed85560d3744714d5090c597711d9%2FScreen%20Shot%202022-07-14%20at%2015.44.29.png?alt=media)

JSステップの戻り値と同じように、動的な値は、後続のステップにおけるテキスト入力やアサーションに使うことができます。

![](https://50135409-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fof7cb8AGXhWvWThq3R0w%2Fuploads%2Fgit-blob-634ae44cde68da2dbe11da2dd241147f057ddb14%2FScreen%20Shot%202022-07-14%20at%2015.45.08.png?alt=media)


---

# 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://help.autify.com/nocode-web/autify-university/foundation/creating-a-scenario/dynamic-value-generation.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.
