Edit

Share via


Create and run user data functions activity in data pipelines (Preview)

The functions activity in data pipelines for Microsoft Fabric allows you to run user data functions items. You can configure the user data functions item securely and provide the necessary input within the pipeline.

Prerequisites

To get started, you must complete the following prerequisites:

Add user data functions activity to a pipeline

To use user data functions activity in a pipeline, complete the following steps:

Create the activity

  • Create a new pipeline in your workspace.

  • Search for Functions in the pipeline's Activities pane, then select the found result to add it to the pipeline canvas.

  • Select the new Functions activity on the pipeline editor canvas if it isn't already selected.

    Screenshot showing how to find functions activity.

Functions activity settings

The Functions activity has two settings:

  • On the General tab, you can enter a name for the activity, set the retry configuration, and specify whether you're passing secure input or output.

    Screenshot showing general settings for functions activity.

  • On the Settings tab, you can then choose UserDataFunctions as the Type of functions activity. Select the workspace, user data functions item, and function name, then provide the input parameters for your selected function.

    Screenshot showing settings for functions activity.

Save and run or schedule the pipeline

After you configure any other activities required for your pipeline, switch to the Home tab at the top of the pipeline editor, then select Save to save your pipeline. Select Run to run it directly, or choose Schedule to schedule it. You can also view the run history here or configure other settings.