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
3 replies
Subscribers
9 subscribers
Views
2540 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hi everyone, I would like to get the current username and use this va
tiagos
over 9 years ago
Hi everyone,
I would like to get the current username and use this variable in my SAIL form, this is possible? And how I can get it?
I had already used "loggedInUser()" but this returns "Administrator" and I want something like "tisoares"...
Thanks in advance.
OriginalPostID-195176
OriginalPostID-195176
Discussion posts and replies are publicly visible
Parents
0
sonalk
over 9 years ago
Hi Tiago,
You can capture the process initiator in a user type process variable(for example processInitiator_user >> value to store in it is pp!initiator) and pass on the same as parameter configuration to the SAIL form, also if required you can add a check as mentioned below :
if(loggedInUser()=pv!processInitiator_user ,loggedInUser(), pv!processInitiator_user )
Hope it helps.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sonalk
over 9 years ago
Hi Tiago,
You can capture the process initiator in a user type process variable(for example processInitiator_user >> value to store in it is pp!initiator) and pass on the same as parameter configuration to the SAIL form, also if required you can add a check as mentioned below :
if(loggedInUser()=pv!processInitiator_user ,loggedInUser(), pv!processInitiator_user )
Hope it helps.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data