Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-121

Kie Server rest Signals API does not resolve mvel expressions

XMLWordPrintable

    • CR1
    • Hide
      • Create a process with
        start->script->signal->end
      • with one process variable "signalName" String.
      • script content:
        kcontext.setVariable("signalName',"mySignal");
      • signalRef attribute will have this value # {signalName}
        *deploy this process onto kie-server
        *run it
        * call GET /kie-server/services/rest/server/containers/{containerId}/processes/instances/{pInstanceId}/signals
        * it will return #{signalName}
      • expected behavior is that it will return 'mySignal'
      Show
      Create a process with start->script->signal->end with one process variable "signalName" String. script content: kcontext.setVariable("signalName',"mySignal"); signalRef attribute will have this value # {signalName} *deploy this process onto kie-server *run it * call GET /kie-server/services/rest/server/containers/{containerId}/processes/instances/{pInstanceId}/signals * it will return #{signalName} expected behavior is that it will return 'mySignal'
    • 2017 Week 36-37

      Following API

      /kie-server/services/rest/server/containers/

      {containerId}

      /processes/instances/

      {pInstanceId}

      /signals

      returns list of active signals. If signal name is #{expression], then this expression is not resolved in the response - i.e. literally '#

      {expression}

      ' is returned, instead of real runtime value.

              rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
              rhn-support-agiertli Anton Giertli
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: