Not able to execute rules using RemoteAPI in BRMS/BPMS 6
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.