Get count of active task for current user

  • 12 March 2020
  • 3 replies
  • 56 views

Badge +7

I want to display count of active task for current user in k2 cloud.
Which OOTB smo or any other option to achieve this count?


3 replies

Userlevel 4
Badge +14
In K2 Management Click on Integration and search for Activity Instance Destination SmartObject. Execute the list method with inputs for the following.
Destination - Specify the user, this must be the K2 FQN ie AAD:User@Domain.com
Status - Active

Note this is a reporting SmartObject, meaning it can return a lot of data causing performance issues if you dont pass input values and decide to use filtering instead.

HTH
Vernon
Badge +7

Vernon,

 i am able to execute that smo, but after that how i will get count because i am not displaying list in view

Hello,

 

Keep a hidden list view and get all the data there and count those in the footer. After that, you can display the count wherever you want.

Reply