Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions articles/data-factory/transform-data-using-script.md
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,37 @@ Sample output:

Inline scripts integrate well with Pipeline CI/CD since the script is stored as part of the pipeline metadata.

> [!NOTE]
> When you define parameters in a Script activity, each parameter must be explicitly referenced in the query text to be passed at runtime.
>
> For example:
>
> ```json
> {
> "type": "Script",
> "typeProperties": {
> "scripts": [
> {
> "type": "Query",
> "text": "EXEC dbo.my_procedure @param1 = @param1",
> "parameters": [
> {
> "name": "param1",
> "type": "String",
> "value": {
> "value": "@pipeline().parameters.myValue",
> "type": "Expression"
> },
> "direction": "Input"
> }
> ]
> }
> ]
> }
> }
> ```


### Logging

:::image type="content" source="media/transform-data-using-script/logging-settings.png" alt-text="Screenshot showing the UI for the logging settings for a script.":::
Expand Down