AnsweredAssumed Answered

Can't access to 'people' api

Question asked by theoryoflinkin on Jul 1, 2014
Latest reply on Jul 1, 2014 by kaynezhang
Hi,

I have to made some modifications inside the "task-edit-header.js" file in order to control the workflow tasks reassignment.

But when I try to access to all the groups of the user selected I always get some errors.

I tried different things with the people API like (args[1] is my person object):


var groupes = people.getContainerGroups(args[1]);


But it seems that I'm not able to use the API people or another one.

Is there an import or a special thing to do to make it works?

Do I have to use an other way to get the informations I need? If yes, can someone help me?

Thanks in advance.

Outcomes