Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-2587

Configuration parameter for treating reference to non existing variables in EL

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Duplicate
    • Major
    • None
    • None
    • Runtime Engine
    • Documentation (Ref Guide, User Guide, etc.)
    • 0
    • 0% 0%

    Description

      During creating and testing your jPDL processes it will be great feature having ability to tell jBPM:
      "When process evaluating EL and accessing variable does not exists RAISE EXCEPTION"

      Advantages:

      • Your process fail in place where is problem (e.g. you misspell variable name)
      • Faster error finding, because of break early

      I propose to make configuration variable for this option, because of back compatibility, but in future it should be default.

      Now jBPM returns null if we evaluate non existsing variable, which is error prone.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wkoziej_jira Wojtas Koziej (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: