caponetto opened a new issue, #1989:
URL: https://github.com/apache/incubator-kie-kogito-apps/issues/1989

   ### Describe the bug
   
   Sometimes when `variables` are fetched from the Data Index, there is 
duplicated information in the response.
   
   
   
   ### Expected behavior
   
   I'd expect simply:
   ```json
   "variables": {
     "workflowdata": {
       "myKey": "myValue",
       "mantra": "Serverless Workflow is awesome!",
       "greeting": "Hello World"
     }
   }
   ```
   
   ### Actual behavior
   
   If you fetch the `variables`, you'll get:
   ```json
   "variables": {
     "workflowdata": {
       "myKey": "myValue",
       "mantra": "Serverless Workflow is awesome!",
       "greeting": "Hello World"
     },
     "workflowdata.mantra": "Serverless Workflow is awesome!",
     "workflowdata.greeting": "Hello World"
   }
   ```
   
   See that `mantra` and `greeting` is duplicated.
   
   ### How to Reproduce?
   
   Take the [Hello World 
workflow](https://github.com/apache/incubator-kie-kogito-examples/blob/stable/serverless-workflow-examples/serverless-workflow-hello-world/src/main/resources/hello.sw.json)
 as an example and execute it with additional inputs, for instance:
   ```json
   {
       "myKey": "myValue"
   }
   ```
   
   ### Output of `uname -a` or `ver`
   
   _No response_
   
   ### Output of `java -version`
   
   _No response_
   
   ### GraalVM version (if different from Java)
   
   _No response_
   
   ### Kogito version or git rev (or at least Quarkus version if you are using 
Kogito via Quarkus platform BOM)
   
   _No response_
   
   ### Build tool (ie. output of `mvnw --version` or `gradlew --version`)
   
   _No response_
   
   ### Additional information
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to