Hi everyone, I would like to get the current username and use this va

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
  • 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.
Reply
  • 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.
Children
No Data