---
schema_version: "1"
id: ef52aa1b420700b7bc816488effccc10cd603f56ffd3f8d79d171e9893acfa9f
title: runUrl
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.7/dw-runtime-functions-runurl.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.7/dw-runtime-functions-runurl
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 32e9c2cf2cd01a3d30be491b167dc596f125649aabeb1137f87e0f53232cb6f0
description: MuleSoft Documentation Site
release: "2.7"
latest: false
---
# runUrl

## [](#runurl1)runUrl(url: String, readerInputs: Dictionary<ReaderInput> = {}, inputValues: Dictionary<Any> = {}, configuration: RuntimeExecutionConfiguration = {}): RunSuccess | ExecutionFailure

指定された URL のスクリプトを実行します。

_実験的:_​ この関数は実験的機能であり、DataWeave の将来のバージョンで変更または削除される場合があります。

### [](#パラメーター)パラメーター

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 25%;">
<col style="width: 75%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">名前</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>url</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">実行するファイルの名前。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>readerInputs</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">読み取って実行にバインドする入力。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>inputValues</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">実行に直接バインドする入力。</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>configuration</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">ランタイム設定。</p></td>
</tr>
</tbody>
</table>

### [](#例)例

次の例では、さまざまな入力での ​`runUrl`​ の動作を示します。

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

```DataWeave
import * from dw::Runtime
var jsonValue = {
  value: '{"name": "Mariano"}' as Binary {encoding: "UTF-8"},
  encoding: "UTF-8",
  properties: {},
  mimeType: "application/json"
}

var Utils = "fun sum(a,b) = a +b"
---
{
  "execute_ok" : runUrl("classpath://org/mule/weave/v2/engine/runtime_runUrl/example.dwl", {"payload": jsonValue })
}
```

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

```Json
{
   "execute_ok": {
     "success": true,
     "value": "\"Mariano\"",
     "mimeType": "application/dw",
     "encoding": "UTF-8",
     "logs": [

     ]
   }
 }
```