when we are giving variable in setvariables activity it is accepting only true condition in if condition activity wheare as in false condition data is not loading.what wou;ld be the reason

raghava thanneru 1 Reputation point



Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,453 questions
{count} votes

1 answer

Sort by: Most helpful
  1. HimanshuSinha-msft 19,376 Reputation points Microsoft Employee

    Hello @raghava thanneru
    Thanks for the ask and using Microsoft Q&A platform .

    As I understand the ask here is why the IF activity is not behaving the correct way , please let me know if thats not correct .

    When I reviewed the snapshots , I think i found the issue . We can get its fixed by one of the two ways called out below

    1. As you are comparing the value against the parameter , request you update the dynamic expression for the IF condition as

    @equals(pipeline().parameters.FIleType,'hp' )


    2 you can leave the dynamic exopression as it is but set the variable value to


    It worked for me .


    Please do let me know how it goes .


    1. Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    2. Want a reminder to come back and check responses? Here is how to subscribe to a notification
    3. If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    0 comments No comments