Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-1210

Add a validate form boolean property on workflow node transition definition

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8
    • Fix Version/s: 73.23
    • Component/s: User Actions, Workflow

      Description

      • I create a workflow with content routing
      • Into my route there is a form with required fields
      • I want to create a validation button and a cancel button

      Problem:

      • Fields in the form are also required if the user click on cancel button

      Solution ??

      • Have the possibility to set immediate as true for the cancel button. Why don't we add a "validate form?" column after "Linked to transition".

      See details in TL-282

      Acceptance Criteria (note: generated config should be ui agnostic)

      • A "validate form" column is available in workflow transitions, between condition and chain (chain options can lead to exiting the wf config, so we want to keep this at the end)
      • Whenever I create a new transition, the validate form option is always true by default
      • When I open the transitions tab for an existing workflow, the validate form option is true by default
      • When the workflow engine only follow transitions where
        • the validate form option is enabled, the workflow task layout is validated (e.g. required fields are requested)
        • the validate form option is disabled, the workflow task layout is not validated (e.g. required fields are not requested)
      • When the workflow engine follows transitions with conflicting validate form option values, the workflow task layout is validated (e.g. required fields are requested)

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 1 hour
                  1d 1h