Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-15103

UI: New version of workflow breaks UI forms

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0, 6.5.1.0
    • Component/s: UI
    • Labels:

      Description

      When you create a new version of an existing Workflow, the forms in the UI do not display anymore for the old version of the Workflow.

      To reproduce:

      1. Extract Workflow Editor UI assets into IDM 7.0.x directory, and use the openidm/samples/provisioning-with-workflow/conf directory
      2. Start the openidm/startup.sh -p openidm/samples/provisioning-with-workflow sample
      3. Setup email config and perform the recons to create user1 and manager1
      4. Login as manager1 using http://localhost:8080/
      5. Start a Contractor Onboarding process, but do not assign it or complete it yet
      6. Go to the Workflow Editor UI and paste in the XML for openidm/openidm-samples/provisioning-with-workflow/src/main/resources/workflow/contractorOnboarding.bpmn20.xml and change "Description" name to "Short Story" like <flowable:formProperty id="description" name="Short Story" ...
      7. Create the resource file in the Editor for /openidm/openidm-samples/provisioning-with-workflow/src/main/resources/workflow/contractorForm.js
      8. Give the workflow a name
      9. Save the workflow
      10. Deploy the workflow
      11. Login as manager1 using http://localhost:8080/
      12. Start another Contractor Onboarding process and note that "Description" shows "Short Story" label instead
      13. Notice that the older version of the workflow has no form fields displayed under "Unassigned Tasks"
      14. If you assign the task you will also see that no form fields display under "My Tasks"
      15. You only see form fields for the new version of the workflow, but you should see the form for all versions

      Note that to address this issue, you need the following two fixes, if not already merged:

        Attachments

          Activity

            People

            • Assignee:
              jason.browne Jason Browne
              Reporter:
              travis.haagen Travis Haagen
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: