Triggering a pipeline using web activity - not able to pass parameters

Kothai Ramanathan 916 Reputation points Microsoft Employee
2020-08-31T09:00:06.413+00:00

From one pipeline, I have a web activity in which I trigger another pipeline. When I try to pass parameters to the pipeline, I am not able to do this. Following are the details.

  1. Pipeline 1 - Web Activity
    21495-image.png
  2. In the pipeline which is being called, following is the parameter set.
    21498-image.png
  3. When I run the parent pipeline, this is the activity details
    21490-image.png
    The called pipeline is triggered and the run id is returned.
    21541-image.png
  4. When I check the parameters of the called pipeline, it is not being set!
    21479-image.png

Please let me know why is this happening, thanks.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
6,717 questions
No comments
{count} votes

Accepted answer
  1. HarithaMaddi-MSFT 10,086 Reputation points
    2020-08-31T17:02:56.577+00:00

    Hi @Kothai Ramanathan ,

    Thanks for posting the query. Please note couple of points that I observed to resolve this issue

    • Publish the changes before running the pipeline
    • Please check the syntax of passing dynamic value for object parameter as below, I saw that extra "{" is present in snap you shared. I tried passing same lookup output and it worked.
    • Also, please directly copy the expression into body of "web activity" without using dynamic context as this is a known issue in ADF.

    Kindly let me know if this works!

    Hope this helps! Please let me know if the requirement is different or issue persists and I will be glad to assist further.

    21545-webactivityparameters.png


0 additional answers

Sort by: Most helpful