Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-2901

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • 2021 Week 37-39 (from Sep 13), 2021 Week 40-42 (from Oct 4), 2021 Week 43-45 (from Oct 25), 2021 Week 46-48 (from Nov 15), 2022 Week 02-04 (from Jan 10)
    • 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–")
    • Undefined
    • NEW
    • NEW

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              abkuma abhishek kumar
              abkuma abhishek kumar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: