4 Replies Latest reply on Sep 18, 2015 11:37 AM by Bob Hastings

    Getting process definitions using REST API

    Nick W Newbie

      Using the following code available at mswiderski/spring-jbpm-app · GitHub, I manage to the process definitions

       

      Collection<ProcessDefinition> processDefinitions = runtimeDataService.getProcesses(new QueryContext(0, 100));

       

      Example

      Available process definitions


      NbNameVersion
      1Evaluation1

       


       

      However, when using REST API as per droolsjbpm-integration/DeploymentsResourceImpl.java at 6.2.x · droolsjbpm/droolsjbpm-integration · GitHub

       

      http://localhost/kie-wb/rest/deployment/processes

       

      I got a empty list.

      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>

      <process-definition-list/>

       

      Any idea?

       

      Nick W