Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-2262

The BigDecimal field's value is getting reset as zero (0.0B/0.0) in the Guided rule.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • None
    • 7.3.1.GA
    • None
    • 0
    • Workaround Exists
    • Hide

      We can use the Long data type instead of BigDecimal.

      Show
      We can use the Long data type instead of BigDecimal.
    • Hide

      Steps to reproduce the issue:

      1. Create a rule project and add an assets [Data object and Guided rule].
      2. Create a field inside the data object [Product] of type BigDecimal.
      ~~~~
      @org.kie.api.definition.type.Label("productPrice")
      private BigDecimal productPrice;
      ~~~~~
      3. Add a condition inside the rule by using Guided rule.
      ~~~~~
      Product( product : productPrice < 7000 )
      ~~~~~
      4. Refresh the browser or re-login to the Business central.
      5. Open the Guided rule again then see the product price looks like [0.0B/0.0]

      Show
      Steps to reproduce the issue: 1. Create a rule project and add an assets [Data object and Guided rule] . 2. Create a field inside the data object [Product] of type BigDecimal. ~~~~ @org.kie.api.definition.type.Label("productPrice") private BigDecimal productPrice; ~~~~~ 3. Add a condition inside the rule by using Guided rule. ~~~~~ Product( product : productPrice < 7000 ) ~~~~~ 4. Refresh the browser or re-login to the Business central. 5. Open the Guided rule again then see the product price looks like [0.0B/0.0]
    • 2019 Week 29-31

      Issue: The BigDecimal field's value is getting reset as zero (0.0B/0.0) in the Guided rule.

      Details:

      A customer is creating a Guided rule and a data object with some fields type of 'BigDecimal' by using Red Hat Process Automation Manager Version7.2.0 but the rule's value becomes zero at post refreshing the browser or re-login to the Business central.

        1. BeforeRefreshing_Screenshot.png
          65 kB
          Sarfaraz Ahamad
        2. image001.jpg
          0.3 kB
          Sabrina Kniffin
        3. image002.png
          0.6 kB
          Sabrina Kniffin
        4. image004.jpg
          0.4 kB
          Sabrina Kniffin
        5. PostRefresh_Screenshot.png
          55 kB
          Sarfaraz Ahamad

              trikkola Toni Rikkola
              rhn-support-saahamad Sarfaraz Ahamad
              Jozef Marko Jozef Marko (Inactive)
              Jozef Marko Jozef Marko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: