java.lang.UnsupportedOperationException: The .getTasksAssignedAsPotentialOwner(..) method is not supported on the remote api. in BPMS

Solution Verified - Updated -

Issue

  • In order to get the pending tasks assigned to groups, a taskService.getTasksAssignedAsPotentialOwner() is to be used with Remote API. However, this call throws below exception when executed
Caused by: java.lang.UnsupportedOperationException: The .getTasksAssignedAsPotentialOwner(..) method is not supported on the remote api.
    at org.kie.services.client.api.command.AbstractRemoteCommandObject.execute(AbstractRemoteCommandObject.java:95)
    at org.jbpm.services.task.impl.command.CommandBasedTaskService.getTasksAssignedAsPotentialOwner(CommandBasedTaskService.java:416)
...

Environment

  • Red Hat JBoss BPM Suite
    • 6.0.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.