rajalakshmys-27 opened a new pull request, #3557:
URL: https://github.com/apache/incubator-kie-tools/pull/3557

   Closes : 
[kie-issues#2291](https://github.com/apache/incubator-kie-issues/issues/2291)
   
   Fixes the issue where a newly created Milestone node did not include a 
`Condition` data input assignment by default. 
   Since a Milestone always requires a condition to track its completion state, 
the node was being created in an incomplete state, requiring the user to 
manually add and configure the `Condition` input themselves.
   
   **Changes**
   
   - Added `ioSpecification` with a `Condition` data input to the Milestone 
node in `produce()`
   - Added `onAdded()` callback to find or create a `String` ItemDefinition and 
link it to the `Condition` input via `itemSubjectRef`
   - Initialized `dataInputAssociation` and `dataOutputAssociation` as empty 
arrays
   
   <img width="1647" height="697" alt="image" 
src="https://github.com/user-attachments/assets/2f644a6b-2f3e-4ce4-a593-919175066919";
 />


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