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
BedrockMission!

Learn more

View all

Sign in to view all badges

JJ_JayantJain
Community profile JJ_JayantJain Level 1
Job title here
Location here
3 BADGES
Level 1

Level 1

Learn more
Joined the community 23-08-2020 10:27:59 PM
Online
Top badges earned by JJ_JayantJain
Customize the badges you want to showcase on your profile
Re: Get Current User who invokes particular step in the w...
Avatar
Give Back 3
Level 1
JJ_JayantJain
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
View profile
JJ_JayantJain
- Adobe Experience Manager
problem is still not resolved.

Views

254

Likes

0

Replies

0
Re: Get Current User who invokes particular step in the w...
Avatar
Give Back 3
Level 1
JJ_JayantJain
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
View profile
JJ_JayantJain
- Adobe Experience Manager
List histories = wfSession.getHistory(workItem.getWorkflow()); HistoryItem firstItem = histories.get(0); String currentParticipant= firstItem.getUserId(); As per your response, tried the same code, but its not giving current user. It's giving last user.

Views

261

Likes

0

Replies

0
Re: Get Current User who invokes particular step in the w...
Avatar
Give Back 3
Level 1
JJ_JayantJain
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
View profile
JJ_JayantJain
- Adobe Experience Manager
final List histories = wfSession.getHistory(workItem.getWorkflow()); final HistoryItem firstItem = histories.get(0); String lastParticipant= firstItem.getUserId();

Views

261

Likes

0

Replies

0
Re: Get Current User who invokes particular step in the w...
Avatar
Give Back 3
Level 1
JJ_JayantJain
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
View profile
JJ_JayantJain
- Adobe Experience Manager
workItem.getWorkflow().getInitiator();Gives the details of user who initiated the workflow, which is not my requirement.I need to get the detail of the user, who currently logged in and running a particular step(process step or dynamic participant step).

Views

234

Likes

0

Replies

0
Get Current User who invokes particular step in the workflow.
Avatar
Give Back 3
Level 1
JJ_JayantJain
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
Top badges earned
Give Back 3
Give Back
Ignite 1
View profile
JJ_JayantJain
- Adobe Experience Manager
I tried to get current user using session and authorizable. But none of them giving the current user who invokes the particular step.Is there any other way to get the current user details ?

Views

381

Likes

0

Replies

8