cancel
Showing results for 
Search instead for 
Did you mean: 

Workflow Assigne Search

sibe
Champ on-the-rise
Champ on-the-rise
Hello,
I want modify the resultset to assign user or group for a workflow.

For exemple when I use the sarchTerm "*", the web script alfresco/api/forms/picker/authority/children?selectableType=cmSmiley Tongueerson&searchTerm=*&size=100 returns all users and groups of repository but I want for example get only the site's members. How can I do ?
I begin to see the scripts    classpath:alfresco/templates/webscripts/org/alfresco/repository/forms/pickerchildren.get.js which use group API to find User :
groups.searchUsers(searchTerm, paging, "lastName");

Thank for your help.
2 REPLIES 2

nicolasraoul
Star Contributor
Star Contributor
Hi Sibe,

Jeff Potts has explained the overall procedure for this here:
http://stackoverflow.com/questions/9413881/filter-user-in-select-bpmassignee-control-alfresco

Hope this helps!
Nicolas Raoul

sibe
Champ on-the-rise
Champ on-the-rise
Thank Nicolas,

Have you ever done this action ?

I thought that I must modify the results from alfresco/api/forms/picker/authority/children?selectableType=cmSmiley Tongueerson&searchTerm=*&size=100 webscript, but can you explain me how can I proceed ?

Thank you