---
schema_version: "1"
id: b13715c3c414af5ea78fc36b84ad30f40f163ad76253d4a52a1a2308907bea5e
title: uuid
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.4/dw-core-functions-uuid.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.4/dw-core-functions-uuid
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 9406441e81741d8dc3b255184933c47480768221c063c7e396a3849f73ba5b7b
description: MuleSoft Documentation Site
release: "2.4"
latest: false
---
# uuid

## [](#uuid1)uuid(): String

取得元として乱数を使用して、v4 UUID を返します。

### [](#例)例

この例では、ランダムな v4 UUID を生成します。

#### [](#ソース)ソース

```DataWeave
%dw 2.0
output application/json
---
uuid()
```

#### [](#出力)出力

```JSON
"7cc64d24-f2ad-4d43-8893-fa24a0789a99"
```