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

Default value is not being selected in ListBox process variable when starting a process instance form

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 7.8.0.GA, 7.10.0.GA
    • The issue is reproducible in RHPAM 7.8 and 7.10 release.

    • False
    • False
    • Undefined
    • Hide
      1. Set org.jbpm.wb.forms.renderer.ext=true in config file standalone-*.xml
      2. Login to Business Central
      3. Create sample project, business process and add a process variable "Q1" and data type as String in the same business process.
      4. Generate all forms in the business process.
      5. Open Process form, select a variable Q1 in the form and click to edit the form.
      6. Change FieldType value from TextBox to ListBox.
      7. Click on Instance to add three values i.e. Yes, No, NA
      8. Keep "Default Value" dropdown default value as -Select a Value-
      9. Save all the changes and click to deploy the changes.
      10. Start Process Instance for above business process using New Process Instance option and select the process definition from above business process.
      11. It will pop up the start process form with process variable Q1 as ListBox/Dropdown .
      12. Q1 shows default/auto selected as "Yes". It should ideally show default value for Q1 in the start process form as "-Select a value" (since default value in the process form for Q1 is "-Select a value–")
      Show
      Set org.jbpm.wb.forms.renderer.ext=true in config file standalone-*.xml Login to Business Central Create sample project, business process and add a process variable "Q1" and data type as String in the same business process. Generate all forms in the business process. Open Process form, select a variable Q1 in the form and click to edit the form. Change FieldType value from TextBox to ListBox. Click on Instance to add three values i.e. Yes, No, NA Keep "Default Value" dropdown default value as - Select a Value - Save all the changes and click to deploy the changes. Start Process Instance for above business process using New Process Instance option and select the process definition from above business process. It will pop up the start process form with process variable Q1 as ListBox/Dropdown . Q1 shows default/auto selected as "Yes". It should ideally show default value for Q1 in the start process form as "- Select a value " (since default value in the process form for Q1 is " -Select a value–")
    • 2021 Week 40-42 (from Oct 4), 2021 Week 43-45 (from Oct 25), 2021 Week 46-48 (from Nov 15), 2021 Week 49-51 (from Dec 6th), 2022 Week 02-04 (from Jan 10), 2022 Week 05-07 (from Jan 31), 2022 Week 08-10 (from Feb 21)

      ListBox in customer scenario has three option Yes, No, NA and default value as " -Select a value-"
      when am starting the process, Process variable ListBox is not selecting the default value as -Select a value- rather than its selecting first value i.e. Yes. Ideally it should select default option -Select a value-

      As RH Support team, we found that the root cause of this issue is the system property org.jbpm.wb.forms.renderer.ext which is set as true, and customer wants to keep/need that value as it.

              trikkola Toni Rikkola
              rhn-support-luzrodri Luz Rodriguez
              Dominik Hanak Dominik Hanak
              Dominik Hanak Dominik Hanak
              Votes:
              1 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: