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
8 replies
Subscribers
10 subscribers
Views
2579 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Data and Records
At a record level for the related action, is there a way to capture who is actua
mjmallet
over 9 years ago
At a record level for the related action, is there a way to capture who is actually logged in?
I tried the loggedinuser() doesn't seem to work. I want to see if the person that is logged in is the creator of the record, if they are then show them the related action.
OriginalPostID-187835
OriginalPostID-187835
Discussion posts and replies are publicly visible
Parents
0
sikhivahans
over 9 years ago
@mjmallet To the best of my knowledge, the problem lies with the local!productInfo and local!projectInfo variables.
The problem here is, the local variables has the capacity to accept any type value, and because of this capability, the local variables hold values of type multiple especially when we make queries(also the query rules always return in array mode). For example, local!productInfo could look to us like it carries the result of type single. But what actually happens here is, the local variable carries the results of array type.
Now we might wonder why the problem comes with a variable that carries a results in an array mode. So, when we use these kind of variables in if condition, and function, or function etc, you will experience a weird behaviour which finally leads to such a state that the related action won't work even if you properly write a expression rule that results in true or false.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sikhivahans
over 9 years ago
@mjmallet To the best of my knowledge, the problem lies with the local!productInfo and local!projectInfo variables.
The problem here is, the local variables has the capacity to accept any type value, and because of this capability, the local variables hold values of type multiple especially when we make queries(also the query rules always return in array mode). For example, local!productInfo could look to us like it carries the result of type single. But what actually happens here is, the local variable carries the results of array type.
Now we might wonder why the problem comes with a variable that carries a results in an array mode. So, when we use these kind of variables in if condition, and function, or function etc, you will experience a weird behaviour which finally leads to such a state that the related action won't work even if you properly write a expression rule that results in true or false.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data