Forum Discussion
Issue Invoking Dataflow
- 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.
Hi Anonymous ,
May I ask if you have resolved this issue? Please let us know if you have any further issues, we are happy to help.
Thank you.