Claimed Cases
I want to get the list of Claimed task details from specific filter ‘Claimed By Me’.
below sample DB script i tried for create filter and fetching the list of claimed task.
but i’m getting above error plzz can any one suggest how can i proceed further.
BEGIN
DECLARE @FILTER_UUID4 UNIQUEIDENTIFIER = NEWID();
INSERT Into [dbo].[ACT_RU_FILTER] (ID_,REV_, RESOURCE_TYPE_, NAME_, QUERY_, PROPERTIES_)
values (@FILTER_UUID4, 5, 'Task', 'Claimed By Me','{"candidateGroup":"Approver","includeAssignedTasks":true,"taskAssigneeExpression":"${ currentUser() }"}',
'{"variables":[{"name":"claimedDate","label":"Claimed date"}]}');
DECLARE @AUTORIZATION_UUID3 UNIQUEIDENTIFIER = NEWID();
INSERT Into [dbo].[ACT_RU_AUTHORIZATION] (ID_,REV_,TYPE_,GROUP_ID_,RESOURCE_TYPE_,RESOURCE_ID_,PERMS_)
values ( @AUTORIZATION_UUID3, 1, 1, 'Approver', 5, @FILTER_UUID4, 2)
END
If we use assigneeExpression , then the tasks are not loading in the tasklist. (not recommended)
if we use this “taskAssigneeExpression”:"${ currentUser() }" getting tasks in the tasklist properly,
but if i want to get those tasks from postman then getting below error. URI : http://localhost:8080/engine-rest/filter/{filter Id}/list
"type": "ProcessEngineException",
"message": "Unable to invoke method 'taskAssignee' on class 'org.camunda.bpm.engine.impl.TaskQueryImpl'"
Hi,
We are still facing the issue where we are not able to retrieve data in postman but able to retrieve it on workbench portal.
Can you please help with this.