Configuring SAV Role to access only required webservices

Sakshi28
New Contributor II
New Contributor II

HI,

We have a requirement to create a new SAV Role which will be used in custom jar to call different webservice APIs.

We created a new role and in access request provided almost all WEBSERVICES available. On checking it seems all the APIs are working as expected except below-

/api/v5/fetchTasks - returns 0 result, we tried with different TASKSTATUS

/v5/discontinueTask - returns error task not found , 401 precondition failed. - The task is availabl...

Are we supposed to assign any specific configuration in Sav role to allow access?

Just FYI, We even made it replica of ROLE_ADMIN to debug further and these two calls are still not working.

[This post has been edited by a Moderator to remove sensitive information.]

 

10 REPLIES 10

rushikeshvartak
All-Star
All-Star

Share postman screenshot 

Sakshi28_0-1674830088197.png

discontinue Task

Sakshi28_1-1674830370508.png

 

Sakshi28
New Contributor II
New Contributor II

Just a note, there are plenty of completed tasks in the system for AD_VPN which are completed. 

and below is the task we are trying to discontinue

Sakshi28_0-1674831763521.png

 

Does user is owner or task or part of owner group 

No Its not part of any user group or owner.

Then user won't be able to fetch tasks or discontinue tasks. 

add user into Group /owner of tasks then he can fetch/discontinue task. Please note existing tasks won't be visible if its group , raise new tasks for same

Sakshi28
New Contributor II
New Contributor II

I tried to add user to task group, It still shows the same pre condition failure. Also, I initially made this SAV role similar to ROLE_ADMIN, and the user having admin role is not added to any of the task group, still it was able to action these tasks.

Share access list under sav role . 
did you created new request and validated ?

Hi Rushikesh,

Here is the complete list of access we have provided to this SAV Role. Also the tasks i am referring to will be processed via Jar , it will always shows owner as admin. I tried to create new request and discontinue but getting the same error

Sakshi28_0-1675251791167.pngSakshi28_1-1675251816687.png

Sakshi28_2-1675252154673.png

Sakshi28_3-1675252492252.png

 

Did you provided feature access?