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

   @ricardozanini 
   
   I've tried update the yaml to 
   
   ```yaml
         - name: Branch1-Name
           condition: ${ .condition1 == true }
           transition: branch1
         - name: Branch2-Name
           condition: ${ .condition2 == true }
           transition: branch1
   ```
   
   With input
   
   ```java
   final Map<String, Object> input = ImmutableMap.of(
                   "condition1", true,
                   "condition2", false);
   ```
   
   The output is still
   
   ```javascript
   {workflowdata={"condition1":true,"condition2":false,"output":"default"}}
   ```
   
   The problem is if I provide both conditions input as true, it can go to 
"branch1". Use "${}" and "==true" or not.


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