Weird behaviour of user when i use to convert emails to 'touser'

Certified Senior Developer

As I am getting a list of text strings separated by semicolons in a single line, my focus is to split them into different values. After that, I need to convert them to users using the touser() function. However, it is currently showing [ID NOT FOUND] even though the email address is already present in Appian users.

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    Temporarily remove the "touser" call from inside your a!forEach loop and ensure the (now text) output matches your expectations.  And, I guess, double check that the email address you're trying to pass actually is a *username*.  You could also replace "touser" with one of the user-checking functions (may or may not require the People Functions plugin) like "isUsernameTaken()", etc, and see what that returns as well.

Reply
  • 0
    Certified Lead Developer

    Temporarily remove the "touser" call from inside your a!forEach loop and ensure the (now text) output matches your expectations.  And, I guess, double check that the email address you're trying to pass actually is a *username*.  You could also replace "touser" with one of the user-checking functions (may or may not require the People Functions plugin) like "isUsernameTaken()", etc, and see what that returns as well.

Children
No Data