Uploaded image for project: 'camunda BPM'
  1. camunda BPM
  2. CAM-7221

When using engine-cdi the function "currentUser()" cannot be resolved

    XMLWordPrintable

    Details

      Description

      When using

      • CdiJtaProcessEngineConfiguration or
      • CdiStandaloneProcessEngineConfiguration

      as process engine configuration, the function "currentUser()" cannot be resolved anymore when executing for example TaskQuery#taskAssigneeExpression("${currentUser()}").

      AT:

      • the function "currentUser()" is resolved properly

      Hint:
      In ProcessEngineConfigurationImpl#initExpressionManager the corresponding function mapper are added to the expression manager. Since CdiJtaProcessEngineConfiguration and CdiStandaloneProcessEngineConfiguration overwrites the method initExpressionManager() the corresponding function mapper are not added to the expression manager.

        Attachments

          Activity

            People

            Assignee:
            roman.smirnov Smirnov Roman
            Reporter:
            roman.smirnov Smirnov Roman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: