Draginko
Draginko

Reputation: 25

Microsoft Power Automate - conditions, or values are always null

I hope you can help us, we already spent with a colleague some time with finding a solution, without success.

First a bit of theory: We have a specific ticketing system in the company, with very limited functionality. However, when a ticket is closed, it will send an email out to the creator. We want to include a link for a satisfaction survey there. However, we dont want to be sent after every ticket, but after lets say every 10th ticket. As no advanced integration of the system is possible, I came with this workaround:

The result is, that flow is going without any error, but the condition is always evaluated as false. I have tried to modify this setup with multiple different approaches: - using get a row function, - creating additional table where only filtered data would be inserted (and therefore used for sending emails), but the result was always only adding empty rows - and any other modifications either of excel table, playing with delays (in case these couple of formulas in excel will be slower than MSPA flow on the server) or amending conditions, with static or dynamic fields

Above mention process seems as the most effective and simpler one, but almost every one of these setup works, at least theoretically (I mean no external problems, like permissions, etc), but they all seemed to have similar issue - null value. Either condition was always false, or in input-output pairs upon investigation of logs input had gathered data, following output part was null.

What can be wrong? Can it be a problem, that all fields used in this setup are made out of formulas?

Here are some pics for illustration and showing the errors: current process setup enter image description here

details of condition evaluation result enter image description here

from previous approaches, get a row function, it has loaded the data (in first table the ID column is called "0", we can see the first record has value 1.

enter image description here

And here output part of updating a row, we can see ID, and Mail are both null, even though they were loaded in previous step. enter image description here

Any idea what we do wrong? Apologies if we have overlooked something obvious, we are not so skillful with this and just started to play around :)

Many thanks for all advices!

Upvotes: 0

Views: 3026

Answers (1)

Davidson Araujo
Davidson Araujo

Reputation: 1

I had the same issue and I resolved doing this.

Conditition = empty(actionBody('Filtra_ID')) 

Look at the image:

Solve condition

Upvotes: 0

Related Questions