Hello all,
I have created one custom workflow few days ago. Now, we have a requirement to add one condition in it. But the condition isn't working at all.
The condition always returns true. Is there anything we have to modify using code or we are missing something in the workflow?

Here, as shown in the image, I have added one condition to the workflow, that If the department is 1464 then GRN workflow 4, else GRN workflow 3.
But whatever department I have in my table, it always returns true in the condition, and runs GRN workflow 4.
I also have ledgerDimension recId in my table, which has department value. But this also doesn't work, Even if the value is blank, it returns true.

I debugged the submit manager class, in which I am getting my table with all the values in it.
And I have activated the new version. It also shows in the workflow history.
What am I doing wrong here? Is anything missing from frontend or from coding side?
Thanks in advance,