cancel
Showing results for 
Search instead for 
Did you mean: 

Assign Workflow on Share: Support for Goups

joaotpd
Champ on-the-rise
Champ on-the-rise
Hi all!!

I'm trying to create the possibility to find/select/add a group to the people selected box on the Assign Workflow Dialog. To do this I'm trying to understand the file workflow.js located on share/modules/documentlibrary/workflow.js.
So far I understand that I need to load the Group Finder Component from the server, like the People Finder Component, right?… in method onTemplateLoaded, right?… What is the best way to do this?! … … then, when search is preformed, I want that to obtain groups to… I have to define new DataTable Cell Renderers and DataTable column definitions for Groups… right? … then, how I obtain a mix of users/groups in Select Assignee box?!… … Is this possible??? … Anyone?? …
Thaks a lot!!

João
2 REPLIES 2

zaizi
Champ in-the-making
Champ in-the-making
I would try and stay away from make YUI changes and see if you can hack the webscript that does the search for people to return groups as well, in the same format.

You'll also have to create custom webscript to deal with workflow assignment. Not tried it myself.

mikeh
Star Contributor
Star Contributor
If you want to go down this route, use the Authority Picker instead of the People Picker - it supports retrieval of both users and groups.

As Zaizi says, you'll also have to do some work in the data webscript in order to pass the different parameters to the workflow APIs.

Thanks,
Mike