fjtirado commented on issue #3456:
URL: 
https://github.com/apache/incubator-kie-kogito-runtimes/issues/3456#issuecomment-2029607139

   @shootsoft Well, this is not real life  use case. Two different conditions 
pointing to the same branch is not something that will ever happen, in my 
opinion, beside this synthetic use case.
   You can achieve the desired behaviour by modifying the  yaml to 
   ```
   id: switch
   version: 1.0.0
   specVersion: "0.8"
   name: Switch test
   start: switch test
   states:
     - name: switch test
       type: switch
       dataConditions:
         - name: Branch1-Name
           condition: .condition1 or .condition2
           transition: branch1
       defaultCondition:
         transition: default
   
     - name: branch1
       type: inject
       data:
         output: branch1
       end: true
   
   
     - name: default
       type: inject
       data:
         output: default
       end: true
    
   ```


-- 
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