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

Enable mocked expression resolution in Spring context

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • L3 - Default
    • 7.15.0-alpha3, 7.15.0
    • None
    • engine
    • None

    Description

      Example wired for Spring Testing doesn't work wit DelegateExecution. Example

      ProcessExpressions.registerCallActivityMock(DELIVERY_PROCESS_KEY)
              // any onExecution doesn't work
              .onExecutionAddVariable("some_var", "value")
              .onExecutionDo(execution -> {
                  //...
              })
              .deploy(rule);
      

      [main] ERROR org.camunda.bpm.engine.context - ENGINE-16004 Exception while closing command context: Unknown property used in expression: ${addVariablesServiceMock_802ce91d}. Cause: Cannot resolve identifier 'addVariablesServiceMock_802ce91d'

       

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              Yuriy Yuriy Rybakov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce