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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content