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

Required Process Variable Tags shouldn't be accepted in forms when empty

    Details

    • Type: Bug
    • Status: New (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 7.8.0.GA
    • Fix Version/s: None
    • Component/s: Form Modeler
    • Labels:
      None
    • Target Release:
    • Steps to Reproduce:
      Hide

      You can also import this project to test quicker: https://github.com/kmacedovarela/jbpm-variable-tagging-sample

       Or you can create a new project and:

      1. New Process
      2. Add process variable, String, tag it as required
      3. Deploy the project
      4. Start a new instance via business central with the auto generated form.
      5. Try to submit an empty form.

      Actual result

      It is possible to submit an empty form.

      Expected result

      The form can be submitted only in case that it contains non empty value.

       

       Video showing the current behavior is attached.

      Show
      You can also import this project to test quicker: https://github.com/kmacedovarela/jbpm-variable-tagging-sample  Or you can create a new project and: New Process Add process variable, String, tag it as required Deploy the project Start a new instance via business central with the auto generated form. Try to submit an empty form. Actual result It is possible to submit an empty form. Expected result The form can be submitted only in case that it contains non empty value.    Video showing the current behavior is attached.

      Description

      Scenario: a process that has a string process variable tagged with required.

      Action: A user starts a process with an empty string set on the required variable.

       

      Unexpected Result: The process can be started via business central form interaction 

      Expected behavior: The form field should be required when the process variable is also required.

       

      Notice that forms should also react to both the required and readonly tag.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  r_anand Rishiraj Anand
                  Reporter:
                  karina.varela Karina Varela
                  Tester:
                  Lubomír Terifaj
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated: