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

Allow to set a context variable, workflow variable or a workflow node variable to null

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.2-SNAPSHOT
    • Fix Version/s: 7.2
    • Tags:
    • Impact type:
      API change
    • Upgrade notes:
      Hide

      SetWorkflowVar, Context.SetVar and Workflow.SetNodeVariable automation operations accept null as value.

      Show
      SetWorkflowVar, Context.SetVar and Workflow.SetNodeVariable automation operations accept null as value.
    • Sprint:
      Sprint io 7.2-1
    • Story Points:
      1

      Description

      Currently, if we call the SetWorkflowVar, Context.SetVar or Workflow.SetNodeVariable with a null value. It throws an exception.
      The value is currently required.

      This behaviour is especially annoying since the XML importer imports empty tag as null (instead of previous empty strings).

      We want to accept null value as input.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: