Hello everyone,
I am understanding and monitoring Alteryx workflow.
In one of the workflows, I have seen 1==1 syntax under custom filter in filter tool.
Can anyone please help me to understand this syntax?
Solved! Go to Solution.
is a generic filter for tests. this option will always pass to the true channel,
if you have something in the false channel for testing, just replace it with 1==0.
Actually, I write it like 1 = 1 because that's how we write equality conditions, with a single = sign, I tried two equal signs and it worked 😮 here the explanation Basic Filter Expression seems wrong
Well back to your question, sometimes we write workflows implementing filters as per requirements, but while testing and working with stakeholders a decision is taken that that particular filter rule is no longer needed, so instead of deleting the filter, the developer write the condition 1 equal 1 (either 1 = 1 or 1 == 1). The adventage of replacing the condition with 1 = 1 is diminishing the impact of the change and avoiding rigurous testing.
Hope this helps,
Arnaldo
User | Count |
---|---|
18 | |
14 | |
13 | |
9 | |
8 |