Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RemoteRestRuntimeFactory restSessionFactory
- = new RemoteRestRuntimeFactory(deploymentId, baseUrl, user, password);
- // Create KieSession and TaskService instances and use them
- RuntimeEngine engine = restSessionFactory.newRuntimeEngine();
- KieSession ksession = engine.getKieSession();
- ProcessInstance processInstance = ksession.startProcess("com.burns.reactor.maintenance.cycle");
- long procId = processInstance.getId();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement