Uploaded image for project: 'BxMS Documentation'
  1. BxMS Documentation
  2. BXMSDOC-497

Chapter 16.1.5. is not up to date for 6.1 execution API

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None

      Title: Execute operations

      Describe the issue:
      Sample is compatible 6.0 but not 6.1

      Suggestions for improvement:

      URL address = new URL(url + "/runtime/" + deploymentId + "/execute");
      must be
      URL address = new URL(url + "/execute");

      Additional information:

      In addition in 6.1 if you want to use POJO as variable for exemple to use SetProcessInstanceVariablesCommand or StartProcessCommand, you need to add the header "Kie-Deployment-Id" (org.kie.services.client.serialization.JaxbSerializationProvider.EXECUTE_DEPLOYMENT_ID_HEADER) with as value the deployment id

            kdwivedi@redhat.com Kartik Dwivedi
            jandry_jira jandry leclair (Inactive)
            Lukáš Petrovický Lukáš Petrovický (Inactive)
            brms-docs brms-docs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: