UnsupportedOperationException while performing task operation using remote java API's in BPMS 6

Solution In Progress - Updated -

Issue

We are trying to set human task priority using remote rest API using 'setPriority()' method but it fails with UnsupportedOperationException

Exception in thread "main" java.lang.UnsupportedOperationException: The .setPriority(..) method is not supported on the remote api.
    at org.kie.services.client.api.command.AbstractRemoteCommandObject.execute(AbstractRemoteCommandObject.java:99)
    at org.jbpm.services.task.impl.command.CommandBasedTaskService.setPriority(CommandBasedTaskService.java:523)

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.