Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
6 replies
Subscribers
7 subscribers
Views
2269 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
User Interface
Receiving an error that there is no function user on SAIL forms. Please advise
marky
over 10 years ago
Receiving an error that there is no function user on SAIL forms. Please advise why the function user is not accessible on SAIL forms in use with the apply function....
OriginalPostID-118422
OriginalPostID-118422
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 10 years ago
can you try fn!user() instead?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 10 years ago
If that still fails, restart the application server and see if that helps. It could be this function couldn't be deployed during the startup for a specific reason that the log will tell you if this happens in this restart too.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
marky
over 10 years ago
I have tried both fn!user() and user(). The function exists, and you can use it normally in an expression rule. It just doesn't work when called as the function parameter of the apply function.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Sikandar Dadan
over 10 years ago
You can create an Expression Rule and call this rule in apply
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
joel671
over 10 years ago
I believe this could be down to some missing data in your users profile. So for example if you are using apply(fn!user,pv!arrayOfUser,"firstName") but one of the users in the array hasn't got a firstName then I believe you will get this error.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
marky
over 10 years ago
Joel: That is not the error I am receiving. The error I am receiving says that the function user does not exist. I believe the only way to circumvent this is to build an expression rule that uses the user function. Oh well.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel