ADF GLobal Parameters error after trigger (debug works fine)

markharing@bisqq.nl 61 Reputation points
2020-09-17T08:15:32.647+00:00

Hi,

I have set a Global Parameter "maximale_ouderdom" which I use in an If Condition.

25523-image.png

25370-image.png

When I debug the pipeline all works fine. The global parameter is being used in the condition.

25533-image.png

However, when the actual operational trigger is being used, the global parameter is not recognized anymore;

25490-image.png

25477-image.png

This is the full error message;

Error
Operation on target Controleer laatste wijziging failed: The expression 'lessOrEquals(activity('lookup_wijzigdatum').output.firstRow.OuderdomUren,pipeline().globalParameters.maximale_ouderdom)' cannot be evaluated because property 'maximale_ouderdom' doesn't exist, available properties are ''.

How is this possible? Am I doing something wrong?

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

Accepted answer
  1. HarithaMaddi-MSFT 10,146 Reputation points
    2020-09-19T10:16:59.673+00:00

    Hi @markharing@bisqq.nl ,

    Thanks for sharing the details. As discussed, recreating the global parameters resolved the issue. This appears to be a publishing issue and global parameters did not get published correctly initially. As it is not reproducible easily, I discussed with Product team and a incident has been raised to investigate if it is transient issue. I will update you once the details are shared with us.

    Thanks for your patience!


1 additional answer

Sort by: Most helpful
  1. Casper Damen 1 Reputation point
    2022-11-14T08:27:07.733+00:00

    Hey @HarithaMaddi-MSFT ,

    I'm experiencing the exact same issue as described in this thread. In debug mode the pipelines run as expected, but the scheduled trigger fails because of issues in the data type of the parameters.

    FYI, i'm using Terraform to deploy the Data Factory pipelines.

    260025-image.png

    260052-image.png

    Kind regards,
    Casper

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.