GopikaReghunath commented on code in PR #4273:
URL: 
https://github.com/apache/incubator-kie-kogito-runtimes/pull/4273#discussion_r3342149676


##########
kogito-codegen-modules/kogito-codegen-processes/src/main/resources/class-templates/usertask/RestResourceUserTaskSpringTemplate.java:
##########
@@ -92,15 +99,54 @@ public void init() {
     }
 
     @GetMapping(produces = MediaType.APPLICATION_JSON_VALUE, consumes = 
MediaType.ALL_VALUE)
-    public List<UserTaskView> list(
-            @RequestParam(value = "user", required = false) String user, 
-            @RequestParam(value = "group", required = false) List<String> 
groups) {
-        return 
userTaskService.list(identityProviderFactory.getOrImpersonateIdentity(user, 
groups));
+    public Object list(
+            @RequestParam(value = "user", required = false) String user,
+            @RequestParam(value = "group", required = false) List<String> 
groups,
+            @RequestParam(value = "format", required = false) String format,
+            @RequestParam(value = "processId", required = false) String 
processId,
+            @RequestParam(value = "processInstanceId", required = false) 
String processInstanceId,
+            @RequestParam(value = "status", required = false) List<String> 
status,
+            @RequestParam(value = "taskName", required = false) String 
taskName) {

Review Comment:
   Have made taskname exact match and case sensitive



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to