1 Reply Latest reply on Nov 5, 2015 2:36 PM by kim777

    BPMS Rest Call to get Running Process instances

    Biswajit Sarkar Newbie

      Hi all,

        I am using BPMS SUITE 6.1

       

        I am trying to create a process(process 1) which start looking at another process(process 2) status/state(1 or 2) using REST API just after staring the "process 1".

        whenever I try to invoke the REST API its only return me the instances of status/state value 2 not 1.

        In short I am trying to get running instances details using "process definition id".

       

        Below are the REST Urls which I invoke to get the running instances details like status/state = 1

       

           http://localhost:8080/business-central/rest/history/process/project1.test

           http://localhost:8080/business-central/rest/query/runtime/process?processId=project1.test&all

           http://localhost:8080/business-central/rest/query/runtime/process?processId=project1.test

           http://localhost:8080/business-cen tral/rest/history/instances

       

      rafachies and krisverlaenen can you please tell me how can I get running process instances details using REST API.

       

      Thanks a lot