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

Show a more friendly error message for violated tags exception

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 7.8.0.GA
    • jBPM Runtime UI

      When trying to edit a "readonly" tag, in BC the `org.jbpm.process.core.context.variable.VariableViolationException` is raised as expected

       

      Although, the message shown in Business Central is not friendly as you can see on the screenshot. 

      The raised exception is fairly technical (what is ok): 

      "00:56:03,918 WARN [org.drools.persistence.PersistableRunner] (default task-22) Could not commit session: org.jbpm.process.core.context.variable.VariableViolationException: Variable 'approved' in process instance '8' violated"

      But then in business central, it gets a bit confusing. A suggestion is that we can try to find a way to fit a message that better describes that this action cannot be done simply due to a rule defined by the user in his/her the process and that it is not a malfunction on the product (like it might look like now).

              xiabai@redhat.com Xiaofeng Bai
              kvarela@redhat.com Karina Varela (Inactive)
              Dominik Hanak Dominik Hanak
              Dominik Hanak Dominik Hanak
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: