I have an empty string initialized, followed by a condition; if string is equal to null.
Problem: the logic is following the wrong path, should be the yes side. What am I doing wrong?
I tried rebuilding in case the flow corrupted or something, same results.
Solved! Go to Solution.
Hi @bdc604 ,
If you do not set the initial value when initializing String variable, you do not need to configure the parameters on the right when configuring Condition.
Image reference:
Flow run history:
Please take a try again.
Best Regards,
Have you tried with coalesce() function as a workaround?
equals(coalesce(variables('xStringR'),'MyVariableIsNull'),'MyVariableIsNull')
It can also helps you to doublecheck if your variable is null from service logic point of view
Hope this helps
Proud to be a Flownaut!
Hi @bdc604 ,
If you do not set the initial value when initializing String variable, you do not need to configure the parameters on the right when configuring Condition.
Image reference:
Flow run history:
Please take a try again.
Best Regards,
Thank you!
I left the value empty, and it's okay.
User | Count |
---|---|
92 | |
45 | |
21 | |
18 | |
16 |
User | Count |
---|---|
136 | |
49 | |
42 | |
36 | |
28 |