cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dccc019
Level: Powered On

AzureDataFactory.CreatePipelineRun with parameters is not working

I tried to add parameters to AzureDataFactory.CreatePipelineRun with {parameters:Table({test:"first"})} but its seem like the paremeters cannot be passed. The pipeline is still get run. 

1 ACCEPTED SOLUTION

Accepted Solutions
v-yutliu-msft
Level 10

Re: AzureDataFactory.CreatePipelineRun with parameters is not working

Hi @dccc019 ,

The AzureDataFactory.CreatePipelineRun function's parameters are:

1)Required Parameters

Subscription,Resource Group,Data Factory Name,Data Factory Pipeline Name

2)Optional Parameters

Reference pipelineRunId.

The right synax is:

AzureDataFactory.CreatePipelineRun (string subscriptionId, string resourceGroupName, string dataFactoryName, string pipelineName, [optional]Reference pipelineRunId)

For now, it's not supported to add another parameters like {...} in this function.

 

Best regards,

Community Support Team _ Phoebe Liu

4 REPLIES 4
Highlighted
v-yutliu-msft
Level 10

Re: AzureDataFactory.CreatePipelineRun with parameters is not working

Hi @dccc019 ,

Could you describe more clearly about "add parameters to AzureDataFactory.CreatePipelineRun"?

If you could show me the formula, it will be better.

As far as I know, the right synax should be:

AzureDataFactory.CreatePipelineRun(Subscription,Resource Group,Data Factory Name,Data Factory Pipeline Name,[Reference pipelineRunId])

All the parameters' format is  string.

While the formula of "Table({test:"first"})" is a table.

Here's a doc about AzureDataFactory.CreatePipelineRun for your reference:

https://docs.microsoft.com/en-us/connectors/azuredatafactory/

 

Best regards,

Community Support Team _ Phoebe Liu

 

dccc019
Level: Powered On

Re: AzureDataFactory.CreatePipelineRun with parameters is not working

Hi @v-yutliu-msft , 

 

Please have a look at the image below: 

Untitled.jpg

Thanks for your support. 

 

Best regards

 

dccc019
Level: Powered On

Re: AzureDataFactory.CreatePipelineRun with parameters is not working

Hi, 

 

Any update on this one please? 

v-yutliu-msft
Level 10

Re: AzureDataFactory.CreatePipelineRun with parameters is not working

Hi @dccc019 ,

The AzureDataFactory.CreatePipelineRun function's parameters are:

1)Required Parameters

Subscription,Resource Group,Data Factory Name,Data Factory Pipeline Name

2)Optional Parameters

Reference pipelineRunId.

The right synax is:

AzureDataFactory.CreatePipelineRun (string subscriptionId, string resourceGroupName, string dataFactoryName, string pipelineName, [optional]Reference pipelineRunId)

For now, it's not supported to add another parameters like {...} in this function.

 

Best regards,

Community Support Team _ Phoebe Liu