Appian Community and Appian Academy are being upgraded. From July 24–August 3, the Appian Community will be in read-only mode. During this time, the site will be read-only and user registration will be disabled. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!
The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.
Discussion posts and replies are publicly visible
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.
user type is there as a data type for rule inputs in expression rule?
The username which you entered is not exist. please try to use another username.
username is the which we use to login into the environment?
then use user(loggedInUser(),"firstName")&" "&user(loggedInUser(),"lastName")
i wanted to when i can set a rule input of user type?
this is fine i understood
because in an expression rule the rule input can be of primitive data types, CDT and record types right?
if the username which you are sending is valid then you can use the code below.
can you show me the rule input part?