Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 months ago
Solved

Issue Invoking Dataflow

Hi everyone I'm having an issue passing parameters into the invoke Dataflow activity for a pipeline.   When I pass in workspace and dataflow Id parameters I see in the input the following { "data...
  • v-echaithra's avatar
    8 months ago

    Hi Anonymous ,

    Thank you for reaching out to Microsoft Community.

    When workspaceId and dataflowId are passed in as parameters, the Invoke Dataflow activity only receives those values. In this scenario, the activity doesn’t automatically detect the type of dataflow, so the dataflowType property is not added. Without this field, the request is incomplete, which is why the dataflow doesn’t run. When you manually select the workspace and dataflow in the UI, Fabric is able to identify the type and automatically includes:

    "dataflowType": "DataflowFabric"


    This property tells the activity whether it’s working with a Fabric Dataflow Gen2 or a Power BI Dataflow Gen1. Since the UI handles this automatically—but parameterization does not—you need to add it manually. To fix the issue, open the Invoke Dataflow activity, switch to the JSON/Advanced view, and add the dataflowType field alongside your parameter references:

    "dataflowId": "@pipeline().parameters.dataflowId",
    "workspaceId": "@pipeline().parameters.workspaceId",
    "dataflowType": "DataflowFabric",
    "notifyOption": "NoNotification"


    Once this is included, the activity will run correctly with parameters.

    Hope this helps.
    Thank you.