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

1
  • Why not use a search Result web part , looking for content type "workflow Task" and assigned to "the group" ? Feb 6, 2018 at 21:02

1 Answer 1

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 and acknowledge that you have read and understand our privacy policy and code of conduct.

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