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

Some events are missed in event emitters (elastic search)

    XMLWordPrintable

Details

    Description

      Running a process, elasticsearch gets events from TransactionalPersistenceEventManager, but some steps running the process are executed by TriggerUpdateTransactionSynchronization which is a drools manager, not aware of event emitters integration.

      Sharing two examples that miss some events:

       

      subprocess:

      process with HT and subprocess, parent event and task are captured by event emitters, subprocess are missed:

      here parent process calling subprocess. Subproces is captured but parent process is missed:

       

      To detect missing parameters, enable org.apache and filter by:

      grep http-outgoing server.log | grep _index

      2022-11-15 16:47:34,791 DEBUG [org.apache.http.wire] (pool-927-thread-10) http-outgoing-22 >> "{ "update" :

      { "_index" : "tasks", "_type" : "task", "_id" : "default-kieserver_1264" }

      }[\n]"
      2022-11-15 16:49:07,613 DEBUG [org.apache.http.wire] (pool-927-thread-11) http-outgoing-22 >> "{ "index" :

      { "_index" : "processes", "_type" : "process", "_id" : "default-kieserver_659" }

      }[\n]"
      2022-11-15 16:51:13,517 DEBUG [org.apache.http.wire] (pool-927-thread-12) http-outgoing-22 >> "{ "index" :

      { "_index" : "processes", "_type" : "process", "_id" : "default-kieserver_661" }

      }[\n]"
      2022-11-15 16:51:44,020 DEBUG [org.apache.http.wire] (pool-927-thread-12) http-outgoing-22 >> "{ "index" :

      { "_index" : "processes", "_type" : "process", "_id" : "default-kieserver_663" }

      }[\n]"
      2022-11-15 16:54:42,208 DEBUG [org.apache.http.wire] (pool-927-thread-13) http-outgoing-22 >> "{ "index" :

      { "_index" : "processes", "_type" : "process", "_id" : "default-kieserver_665" }

      }[\n]"

      on database process are like:

      evaluation 665, only-scripts 666 but no 666 event appears.

      Attachments

        Issue Links

          Activity

            People

              mputz_jira Martin Weiler
              afanjula@redhat.com Alberto Fanjul Alonso
              Gonzalo Muñoz Fernández Gonzalo Muñoz Fernández
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: