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

JJ_JayantJain
JJ_JayantJain
Offline

Badges

Badges
3

Accepted Solutions

Accepted Solutions
0

Likes Received

Likes Received
0

Posts

Posts
5

Discussions

Discussions
0

Questions

Questions
5

Ideas

Ideas
0

Blog Posts

Blog Posts
0
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... - Adobe Experience Manager 24-08-2020
problem is still not resolved.

Views

536

Likes

0

Replies

0
Re: Get Current User who invokes particular step in the w... - Adobe Experience Manager 24-08-2020
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

543

Likes

0

Replies

0
Re: Get Current User who invokes particular step in the w... - Adobe Experience Manager 24-08-2020
final List histories = wfSession.getHistory(workItem.getWorkflow()); final HistoryItem firstItem = histories.get(0); String lastParticipant= firstItem.getUserId();

Views

543

Likes

0

Replies

0
Re: Get Current User who invokes particular step in the w... - Adobe Experience Manager 24-08-2020
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

516

Likes

0

Replies

0
Get Current User who invokes particular step in the workflow. - Adobe Experience Manager 23-08-2020
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

676

Likes

0

Replies

8