When firing the user's Flow "General Procurement", the "If" statement "If user is located in Wakanda, assign to Wakanda Service Desk" is getting evaluating as false, even though this appears to be a true statement. The user wanted to know why this is.


The reason the user is seeing the Flow's "If" statement constantly evaluate to false is that a reference field cannot be compared to a string field.

As mentioned above, it was found that the "If" statement in question was comparing Trigger ➛ Hardware Record ➛ Location is "Wakanda". This will not ever be true because it is comparing a record reference (Location) to a string ("Wakanda").

After the Flow was changed to compare Trigger ➛ Hardware Record ➛ Location ➛ Name (a string) to "Wakanda" (also a string), it worked as expected.

Article Information

Last Updated:2019-12-17 00:12:48