Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-4936

[GSS](6.4.z) Kie Server rest Signals API does not resolve mvel expressions

    Details

    • Fix Build:
      CR1
    • Steps to Reproduce:
      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'
    • Sprint:
      2017 Week 36-37

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  tsurdilovic Tihomir Surdilovic
                  Reporter:
                  anton.giertli Anton Giertli
                  Tester:
                  Karel Suta
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: