> ## Documentation Index
> Fetch the complete documentation index at: https://help.dingtalk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# UUID

> UUID函数用于生成一段随机字符串，支持在宜搭的多种场景中使用，如表单、流程设计、集成自动化等。通过该函数可以为单行输入框生成唯一字符串。

**UUID**函数用于生成一段随机字符串。

## 支持产品场景

UUID函数支持在宜搭的以下场景中使用。

* 表单（主表字段）
* 表单（业务关联规则）
* 表单（校验）
* 流程设计（校验规则）
* 流程设计（关联操作）
* 集成自动化
* 流程-节点
* 连接器

## 格式

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
UUID()
```

## 返回值

| **返回值类型** | **说明**    |
| --------- | --------- |
| 文本        | 生成的随机字符串。 |

## 使用示例

<Frame>
  ![](https://yida-support.oss-cn-shanghai.aliyuncs.com/static/png/1702980155694-103eb096-5f40-4b94-9183-3f2ae8270e6e.png)
</Frame>

## 体验

生成唯一字符串赋值给单行输入框。
