Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-16424

Process validation on node schema when completing a task

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.1
    • Fix Version/s: 7.2
    • Component/s: Workflow

      Description

      • a transient DocumentModel will be created associated with the node schema handling the local variables + the transient schema handling the global variable used within the form
      • From the variables map (workflow + node) submitted for task completion, the 2 schema fields will be valued
      • if the wokflow variable map contains a variable that does not match one of the field of the transient schema, a security exception is thrown (this means we are trying to edit a global variable within a task completion that we are not allowed to)
      • the validation is processed on this DocumentModel but nothing is persisted.
      • if the validation went through, the workflow engine will complete the task and run as it is

      Thanks to NXS-2442, we will have a single node schema which will hold fields associated to node variables along with their validation constraints.

      We'll use it to validation task completion.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: