Skip to main content
Nintex Community Menu Bar
Question

List all Worklist task o Admin User


Forum|alt.badge.img+1

Hi Team,

We have requirement where we would like to see all worklist item assign to the user to the Admin user.

I have implemented with Task SMO but problem i am facing is, if user has not Admin rights he is not able to see any worklist.

 

How we can do this for the normal user or user who does not have Admin rights.

 

 

Translate
Did this topic help you find an answer to your question?

2 replies

AnthonyD
Nintex Employee
Forum|alt.badge.img+6
  • Nintex Employee
  • 35 replies
  • December 22, 2023

Hello @Niks_89 ,

There are a few ways to deal with this scenario.

The first one is to develop your own rest service. Using the Client API will result in return only tasks owned for a user where as using the management API will result in returning in all tasks. The rest api is usually run by the K2 service account allowing the management permissions to work. Some sample code is found below:
CLIENT: https://help.nintex.com/en-US/k2five/DevRef/5.4/Content/Runtime/WF-Client/Retrieve-worklist.html

MANAGEMENT: https://help.nintex.com/en-US/k2five/DevRef/5.4/Content/Runtime/WF-Manage/GlobalWorklist.html

 

The second way is to leverage the Reporting SMOs found in ‘Workflow Reports → Workflow General → Task’. I believe you hit this limitation where you can only see your own tasks unless you are an admin

 

The third way is to enable the Workflow Rest service in Management.
 

When you register the rest service instance, you can specify the service account or another static account that has admin permissions.

You can then use create the service instance from the newly created service instance and use the tasks method.

 

You can also request assistance from the Professional Services team to help with getting this setup if you need assistance

Thanks,

Anthony

Translate

Forum|alt.badge.img+10
  • Nintex Employee
  • 94 replies
  • December 29, 2023

Maybe the following documentation will help too, there is a caution section.

https://help.nintex.com/en-US/nintexautomation/userguide/5.7/Content/K2-Management-Site/Integration/Workflow-REST-API.htm

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings