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

Parent Child Process - Child process not in data index

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • None
    • Data Index
    • False
    • None
    • False
    • ---
    • ---

      Hi Team,
      I am trying to use reuseable subprocess. So SampleParent calls SampleChild.
      Only sample variables of Boolean type a and b added for testing.
      When the same is triggered no SampleChild is persisted in SampleChild_domain collection.
      Need to know what am I doing wrong in this.
      Or if this is a bug to fix in data index.


      Logs

      Starting workflow 'sampleParent' (83c96e1e-46aa-4003-8da5-9d2e10b62054)
      2023-03-14 08:06:41,560 INFO  [org.kie.kog.qua.pro.dev.DevModeWorkflowLogger] (executor-thread-0) Variable 'a' value: 'true'
      2023-03-14 08:06:41,560 INFO  [org.kie.kog.qua.pro.dev.DevModeWorkflowLogger] (executor-thread-0) Variable 'b' value: 'true'
      2023-03-14 08:06:41,560 INFO  [org.kie.kog.qua.pro.dev.DevModeWorkflowLogger] (executor-thread-0) Triggered node 'Start' for process 'sampleParent' (83c96e1e-46aa-4003-8da5-9d2e10b62054)
      2023-03-14 08:06:41,560 INFO  [org.kie.kog.qua.pro.dev.DevModeWorkflowLogger] (executor-thread-0) Triggered node 'Sub-process' for process 'sampleParent' (83c96e1e-46aa-4003-8da5-9d2e10b62054)
      2023-03-14 08:06:41,625 INFO  [org.kie.kog.qua.pro.dev.DevModeWorkflowLogger] (executor-thread-0) Starting workflow 'sampleChild' (82c565dc-2201-4ed3-8596-e3e37bd9546e)
      2023-03-14 08:06:41,625 INFO  [org.kie.kog.qua.pro.dev.DevModeWorkflowLogger] (executor-thread-0) Variable 'a' value: 'true'
      2023-03-14 08:06:41,625 INFO  [org.kie.kog.qua.pro.dev.DevModeWorkflowLogger] (executor-thread-0) Variable 'b' value: 'true'
      2023-03-14 08:06:41,626 INFO  [org.kie.kog.qua.pro.dev.DevModeWorkflowLogger] (executor-thread-0) Triggered node 'Start' for process 'sampleChild' (82c565dc-2201-4ed3-8596-e3e37bd9546e)
      2023-03-14 08:06:41,626 INFO  [org.kie.kog.qua.pro.dev.DevModeWorkflowLogger] (executor-thread-0) Triggered node 'End' for process 'sampleChild' (82c565dc-2201-4ed3-8596-e3e37bd9546e)
      2023-03-14 08:06:41,626 INFO  [org.kie.kog.qua.pro.dev.DevModeWorkflowLogger] (executor-thread-0) Workflow 'sampleChild' (82c565dc-2201-4ed3-8596-e3e37bd9546e) completed
      2023-03-14 08:06:41,659 INFO  [org.kie.kog.qua.pro.dev.DevModeWorkflowLogger] (executor-thread-0) Variable 'a' changed value from: 'true', to: 'true'
      2023-03-14 08:06:41,659 INFO  [org.kie.kog.qua.pro.dev.DevModeWorkflowLogger] (executor-thread-0) Variable 'b' changed value from: 'true', to: 'true'
      2023-03-14 08:06:41,659 INFO  [org.kie.kog.qua.pro.dev.DevModeWorkflowLogger] (executor-thread-0) Variable 'a' changed value from: 'true', to: 'true'
      2023-03-14 08:06:41,659 INFO  [org.kie.kog.qua.pro.dev.DevModeWorkflowLogger] (executor-thread-0) Variable 'b' changed value from: 'true', to: 'true'
      2023-03-14 08:06:41,659 INFO  [org.kie.kog.qua.pro.dev.DevModeWorkflowLogger] (executor-thread-0) Triggered node 'End' for process 'sampleParent' (83c96e1e-46aa-4003-8da5-9d2e10b62054)
      2023-03-14 08:06:41,663 INFO  [org.kie.kog.qua.pro.dev.DevModeWorkflowLogger] (executor-thread-0) Workflow 'sampleParent' (83c96e1e-46aa-4003-8da5-9d2e10b62054) completed 

      I can clearly see the same in runtime engine that both Child and Parent process completed.
      in processinstances collection both processes are captured.

        1. Screenshot 2023-03-14 at 8.02.48 AM.png
          43 kB
          Debabrata Patnaik
        2. Screenshot 2023-03-14 at 8.03.12 AM.png
          38 kB
          Debabrata Patnaik
        3. Screenshot 2023-03-14 at 8.11.04 AM.png
          129 kB
          Debabrata Patnaik

              cnicolai@redhat.com Cristiano Nicolai (Inactive)
              debabrata_patnaik Debabrata Patnaik (Inactive)
              Dominik Hanak Dominik Hanak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: