VMware Cloud Community
ing2k-simone
Contributor
Contributor

Retrieve user who have answered to a workflow

Hello, i have a workflow  with a user interaction where more than one user can answer.

In the "security.group" attribute i've associate a ldap user  group thah can answer to.

i need to know how can i retrieve which user have answered to.

The function "Server.getRunningUser()" return always the user that have started the workflow but i need only the user who have answer at the user interaction (member of the security.group attribute).

someone can help me?

thank you.

Reply
0 Kudos
2 Replies
KiwiDave
Enthusiast
Enthusiast

+1 for this.

Reply
0 Kudos
Jalapeno420
Enthusiast
Enthusiast

After the interaction I use LdapUser.displayName and it seems to work for me.

I did not look back for enough.  In the interaction I have a LdapUser type an an external input.  I have the default value set to GetAction("com.vmware.library.ldap","getCurrentLdapUser").call()

Reply
0 Kudos