Skip to main content
August 10, 2022
Question

what does the error mean?

  • August 10, 2022
  • 39 replies
  • 0 views

    39 replies

    stewart.burchell
    August 10, 2022

    It's saying exactly what the error is - you're using the user() function and passing it a value Appian does not recognise as a valid User. Note that the value for a User is case sensitive e.g. Arunkh is not the same as arunkh. You can avoid this type of error by passing in the value in your rule input as the correct datatype i.e. set ri!userName as type 'User' and not 'Text'. Appian won't let you pick an invalid User for your unit test.

    August 11, 2022

    user type is there as a data type for rule inputs in expression rule?

    August 11, 2022

    The username which you entered is not exist. please try to use another username.

    August 11, 2022

    username is the which we use to login into the environment?

    August 11, 2022

    then use user(loggedInUser(),"firstName")&" "&user(loggedInUser(),"lastName")