We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Getting logged-in user details in new Web Form

Received Response
26
Views
1
Comments
edited Jan 24, 2017 8:00AM in Process Automation 1 comment

Summary

Getting logged-in user details in new Web Form

Content

Anyone knows how to get logged in user details in new Web Form? I used to do a rest call in basic form and pass the id of the logged-in user by using a decode function as below...

if(form.load) { 

     var loggedinUser = decode(subject.id); 

     eval('user=' + http.get('http://host:port/bpm/api/1.0/identities/user/' + loggedinUser)); 

     UserLastName.value = user.userLastName;

}

How can I do the same in new Web form?

PS: This is a start form, so I cannot pass the user id as a parameter from the process.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!