Skip to main content
johnpauld0003
February 1, 2022
Solved

Invalid types, can only act on data of the same type (Text, Any Type)

  • February 1, 2022
  • 7 replies
  • 0 views

Hello. I am new in Appian. I want to get all the existing organization Id. but I have this error. What is the solution on this error.

Thank you.

Japs

Best answer by stewart.burchell

Richard meant:

wherecontains(
"xxxxxx",
touniformstring(local!user)
)
 

7 replies

richardm900458
February 1, 2022

Hi elmucho,
you can just perform wherecontains on the same data types.
Local!user is of type "any type".
"abc" -> string/text
try a touniformstring() around local!user

johnpauld0003
February 1, 2022

Hello Richard. I'll try to use touniformstring() in local!user. but nothing happens. same error