Not able to execute rules using RemoteAPI in BRMS/BPMS 6

Solution In Progress - Updated -

Issue

We need to execute rules, processes from a remote application, for this we are using Remote Rest API,as shown below:
I downloaded your sample code which seems to work fine for tasks but not for rules.

RemoteRestRuntimeFactory factory = new RemoteRestRuntimeFactory(DEPLOYMENT_ID, url, USER,PASSWORD);
KieSession ksession=factory.newRuntimeEngine().getKieSession();
ksession.fireAllRules();
ksession.startProcess("Project1.TestProcess");

With this code we are able to start process,but rules are executed.

Environment

  • Red Hat JBoss BRMS
    • 6.0.x

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