Uploaded image for project: 'SwitchYard'
  1. SwitchYard
  2. SWITCHYARD-2393

BPM/Rules properties are not set in org.kie.api.runtime.Environment

    Details

      Description

      properties being set on SwitchYard's BPM and Rules components (via
      <bpmroperties> or <rulesroperties>) are being passed into the
      creation of a org.kie.api.runtime.KieSessionConfiguration, but not into
      the org.kie.api.runtime.Environment.

      Steps to Reproduce:
      1. Set some property on BPM component
      2. Try to get its value from the jBPM process, using some script, i.e.
      System.out.println("environment property value:"+kcontext.getKieRuntime().getEnvironment().get("org.kie.api.persistence.pessimistic"));

      3. Value is null

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dward David Ward
                  Reporter:
                  rcernich Rob Cernich
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: