0

An event handler that counts how many workflow tasks the ‘assigned to’ person/group has been assigned with?

Across multiple task lists.

It is assigned to a SharePoint group - it’s not assigned to an individual user. So I have to be able to count how many tasks that group is assigned

  • Why not use a search Result web part , looking for content type "workflow Task" and assigned to "the group" ? – Kasper Bo Larsen Feb 6 '18 at 21:02
0

Use search API:

var selectedParameter='&trimduplicates=false&rowlimit=%27500%27&selectproperties=%27Title,Path%27';
var searchApi=_spPageContextInfo.siteAbsoluteUrl+ '/_api/search/query?querytext=%27ContentType:"Tasks CT" AND AssignedToOWSCHCS:"Value"+' %27'+selectedParameter

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.