We would like to get a list with all users who are active in a workflow. We would like to delete all users who are member of a role but aren't active in a workflow tasks.
In the K2 Management site, there is a section under Users called "Task List". In this section you can see all tasks in the workflow and who they are assigned to. You can filter on specific users to see if they have any tasks and, if not, remove them from your role. Hope this helps!
Hi MJ1
see attached link below on how to get a list with users who are active in a workflow
Should you find the information from the article useful or leading you to the answer please mark as "Solution and/or Kudo", as it will assist other k2 developers with relevant information in the near future.
Best Regards
Elvis
>K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member]
With that said, If the role is the destination of the task i'm not sure if there is a way to determine with 100% accuracy which member of this role needs to be removed from the role. If a user opens the task the task will be in 'Open' status for them but that doesn't mean the other users which did not open the item should not be part of the role.
To me its leaning toward a business decision to determine the role members.
HTH
Vernon
Hi MJ1,
You can use Either K2 Management or SmartObjects-Services-Tester to check who are the active users in a workflow
For the K2 Management you can go to the workflow and find task list as mentioned in previous comments.
For the SmartObjects-Services-Tester you can
1. Expand folder 'SmartObject Explorer'
2. Expand folder 'Workflow Reports'
3. Look For 'Activity Instance Destination' right click 'Execute SmartObject' then fill in the information that you have (e.g Folio) then Execute
Should you feel that this post is of use and or an accurate solution to the raised question, I kindly encourage you to mark it as such using the 'Mark as Solution', 'Kudo' andor ‘Me Too’ options.
Best Regards,
Kate
K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.