Hello again ,
I have a new mistake with conditionnal step that are in a "apply to each" loop :
she is still true so she should not.
my condition :
I want to know if the compose 2 output is empty or not
but I have always the same result whereas the output compose_2 switch well...
If someone have an idea...thank you!
Solved! Go to Solution.
Hi @willy30870 ,
The reason for this result is that the value in Compose is actually space, so the result of the condition is not empty.
Although there is no specific value, it will still be treated as a character, so the result is always true.
Based on this situation, you could use the length() function to determine the number of characters directly in Condition. If it is equal to 1, it implies that the value here maybe just space and there is no actual value.
Expression reference:
length(outputs('Compose'))
Image reference:
Best Regards,
Hi @willy30870 ,
Thanks for the screenshot.
I did tested this and I got the expected results.
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogPower Automate Video TutorialsI just tryed your solution but it's not working for me...
Hi @willy30870
Thanks for the quick response.
What I meant is find the length of the compose output in a variable. If it's more than zero that means there is something in the compose output.
If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.
Thanks
If you liked my response, please consider giving it a thumbs up
Proud to be a Flownaut!
Learn more from my blogPower Automate Video Tutorials
It's working, I find it a little complicated but it works.
in case :
I have a table of data with a "select" step and 2 columns. I want to hide column 2 when it's empty.
if there is another solution than the one above I am interested!
Hi @willy30870 ,
The reason for this result is that the value in Compose is actually space, so the result of the condition is not empty.
Although there is no specific value, it will still be treated as a character, so the result is always true.
Based on this situation, you could use the length() function to determine the number of characters directly in Condition. If it is equal to 1, it implies that the value here maybe just space and there is no actual value.
Expression reference:
length(outputs('Compose'))
Image reference:
Best Regards,
Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!
User | Count |
---|---|
85 | |
58 | |
43 | |
38 | |
34 |
User | Count |
---|---|
91 | |
73 | |
72 | |
61 | |
41 |