Note
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Use the Append Variable activity to add a value to an existing array variable defined in a Fabric pipeline.
Prerequisites
To get started, you must complete the following prerequisites:
- A tenant account with an active Microsoft Fabric subscription. You can try Fabric with a free trial.
- A Fabric workspace.
Add an Append Variable activity to a pipeline with UI
To use an Append Variable activity in a pipeline, complete the following steps:
Creating the activity
Create a new pipeline in your workspace.
Before you use the Append Variable activity, you need an array type variable in your pipeline. First select the pipeline canvas background, so the pipeline settings appear on the lower part of the screen. There, select the Variables tab, and then select + New, to add a variable of Array type.
Now that you have an array type variable in your pipeline, search for Append Variable in the pipeline Activities pane, and select it to add it to the pipeline canvas. You may need to expand the list of available activities using the dropdown + button at the far right of the toolbar.
Select the new activity on the canvas if it isn't already selected.
Refer to the General settings guidance to configure the General settings tab.
Append variable settings
Select the Settings tab, then use the Name dropdown to select your previously created array type variable. You can also use the + New button to create a new variable in the pipeline directly if you didn't create one previously. Provide data to be appended to the array variable. You can use dynamic expressions here or directly enter data, of which the type is always string.
Save and run or schedule the pipeline
Although Append Variable is typically used with other activities, it can be run directly as is.
Switch to the Home tab at the top of the pipeline editor and select the save button to save your pipeline. Select Run to run it directly or Schedule to schedule runs at specific times or intervals. For more information on pipeline runs, see: schedule pipeline runs.
After running, you can monitor the pipeline execution and view run history from the Output tab below the canvas.