AnsweredAssumed Answered

Alfresco - Get username in workflow activiti

Question asked by pat9rv3sousa on Nov 19, 2015
Latest reply on Nov 20, 2015 by gdharley
I'm searching for the username of assignees when I create on a workflow…

I use this:

public void notify(DelegateExecution execution){
   // get value of property mymodel:myproperty
   Object assignees = execution.getVariable("bpm_assignees");

When I get bpm_assignees i get this:

bpm_assignees map value: [Node Type: {…}person, Node Aspects: [{…}ownable, {}referenceable, {}localized], Node Type: {…}person, Node Aspects: [{…}ownable, {}referenceable, {}localized]]

How can I get username?

Thank you so much!