0 Replies Latest reply on Oct 13, 2015 7:32 AM by Swapnil Ugare

    Using forms on client applications

    Swapnil Ugare Newbie

      Hello All,

       

       

      I am trying embed jbpm forms on client applications using java script API (jbpm-forms-rest-integration.

      js). but when I trying to run this I will get error. I thing rest full web service is not started. any one please tell the procedure who to embed from in client application. I made following configuration

       

       

      DeploymentId: org.jbpm:HR:1.0

      ProcessId: hiring

       

      Server URL: http://localhost:8080/kie-wb/

      I got the following error

      something wrong happened: <html><head><title>Error</title></head><body>404 - Not Found</body></html>


      when I debug the
      jbpm-forms-rest-integration.js , the showStartProcessForm  function will return the json object having name of  'config'  it contains following data

      {"myform":{"containerId":"myform","host":"http://localhost:8080/kie-wb/","url":"http://localhost:8080/kie-wb/rest/runtime/org.jbpm:HR:1.0/process/hiring/startform","isProcess":true,"deploymentId":"org.jbpm:HR:1.0","processId":"hiring","formURL":null}}


      when I hit the url '
      http://localhost:8080/kie-wb/rest/runtime/org.jbpm:HR:1.0/process/hiring/startform'. I did not get any thing.it will give

      404 - Not Found message.

      The process is deployed in kie work bench... any other thing I want to configure so that above api call will work