---
schema_version: "1"
id: 8846bfc184188c7a29dc58196a22668e2a252e5c92e3b0ab95fdd68886f17282
title: runUrl
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/2.9/dw-runtime-functions-runurl.md
canonical_url: https://docs.mulesoft.com/dataweave/2.9/dw-runtime-functions-runurl
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 98eab84a91992fa31208b12b7548e0803169d5266fd36d387bb56a9217dd6f59
description: MuleSoft Documentation Site
release: "2.9"
latest: false
---
---
product: DataWeave
version: 2.9
---

# runUrl

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

## runUrl(url: String, readerInputs: Dictionary<ReaderInput> = {}, inputValues: Dictionary<Any> = {}, configuration: RuntimeExecutionConfiguration = {}): RunResult

Runs the script at the specified URL.

_Experimental:_ This function is an experimental feature that is subject to change or removal from
future versions of DataWeave.

### Parameters

<table><colgroup><col> <col></colgroup><thead><tr><th>Name</th><th>Description</th></tr></thead><tbody><tr><td><p><code>url</code></p></td><td><p>The name of the file to execute.</p></td></tr><tr><td><p><code>readerInputs</code></p></td><td><p>Inputs to read and bind to the execution.</p></td></tr><tr><td><p><code>inputValues</code></p></td><td><p>Inputs to be bind directly to the execution.</p></td></tr><tr><td><p><code>configuration</code></p></td><td><p>The runtime configuration.</p></td></tr></tbody></table>

### Example

This example shows how `runUrl` behaves with different inputs.

#### Source

```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 })
}
```

#### Output

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

     ]
   }
 }
```
