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

Details

    • Bug
    • Resolution: Duplicate
    • 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

    Description

      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.

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: