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

Fix custom EL expression sample on workflow availability tag

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.13
    • Fix Version/s: 2.14
    • Component/s: Ergonomy / UX / UI

      Description

      Steps to reproduce

      In Nuxeo studio:
      Go to Workflow > Workflow definition
      Create a new workflow
      Go to the Availability tab
      Click on the help icon next to the Custom EL expression field

      The problem

      The help tooltip indicates the following example:
      Sample:

      #{currentDocument.dc.title == 'myTitle'}


      but this expression is not working.

      What is working

      The following expression works:

      #{currentDocument.getPropertyValue('dc:title') == 'myTitle'}

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified