Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-8422

Serverless Workflow Crashed when eventDataFileter applied

XMLWordPrintable

    • False
    • None
    • False
    • ---
    • ---

      After an "eventDataFilter" was added, the SW crashed.

      The related state is as below.

      {
          "states": [{
                  "name": "New Data Processing",
                  "type": "event",
                  "onEvents": [{
                          "eventRefs": [
                              "newDataProcessingEvent"
                          ],
                          "eventDataFilter": {
                              "data": "${ .input }",
                              "toStateData": "${ .orgInput }"
                          },
                          "actions": [{
                                  "functionRef": {
                                      "refName": "PostBotMessage",
                                      "arguments": {
                                          "hookId": "314ae0ba-d4e2-4639-944c-92954967de8e",
                                          "msg_type": "text",
                                          "content": {
                                              "text": "${ .orgInput.uploadId }"
                                          }
                                      }
                                  }
                              }
                          ]
                      }
                  ],
                  "transition": "Prepare Upload"
              }
          ]
      }
       

      The event is here

      {"specversion":"0.3","id":"0367994e-5c60-4129-9290-1f2daea0448b","source":"adc","type":"newDataProcessing","time":"2022-12-27T07:09:24.057146288Z","data":{ "input": { "uploadId":"abc","userId":"def","jobId":"mno" }}} 

      The log is attached.

       

        1. crash.log
          129 kB
          Marshall Ma

              ftirados Francisco Javier Tirado Sarti
              globefishng Marshall Ma (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: