Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Getting Current User ID

Avatar

Not applicable
Hi all



I have a very simple and basic question. I have a simple form with

only one field. What I want is to populate this single field with the

current User ID of workspace. How do I accomplish that?



Thanks in advance.

synaqvi
1 Reply

Avatar

Level 10
UndeIn Designer, under the Custom palette there is a Process Fields object. This object contains a number of fields that the process engine uses to keep track of the state of the process. Drop this object onto your form (there are a number of hidden fields). The AWS_ASSIGNED_ID has the GUID of the user that the task is assigned to. You can take that value and use the as input into the User Lookup service under the Foundation category to get the uid or username or whatever you want.