Skip to main content

Hi all,

I’ve been trying to test some of the calls related to Work Tasks using the WorkTasksHandling projection and the JtTaskSet entity but it’s always returning empty results even though there are existing Work Tasks in the system:
 

Existing Work Tasks in the system
Executing GET call on JtTaskSet entity. Response returns count = 0 and empty value array.
​​

 

Here’s an example of trying to retrieve a single record from the JtTaskSet entity using an existing Work Task ID:
 

Executing GET on existing Work Task. Response returns Resource not found.

 

However, there are other projections that do return results. Here’s an example using the PersonHandling projection and the PersonInfoSet entity:

GET call on PersonInfoSet returns records

 

Here’s the setup for the Client User that I’m using to test these calls:

Permission sets associated to WorkTasksHandling projection​
Direct grant permission sets associated to the IFS_POSTMAN user.​​​​

 

Let me know if I’m missing anything and if anybody has any insights on this issue. Thanks!

Hi @mtoca

One possible reason could be some form of row level security (e.g. 'User allowed site") applied on the underlying databse view for JtTasks. 


I finally got it to work but the behavior was bizarre.

I first executed a POST call to create a new Work Task and then when I executed the GET call to retrieve all Work Tasks, all existing Work Tasks were returned.

I’m not too sure why they weren’t being returned in the first place.


Reply