pefernan opened a new issue, #2223:
URL: https://github.com/apache/incubator-kie-issues/issues/2223

   In the BPMN Editor, if we have a usertask that has some data mappings like:
   
   <img width="1156" height="618" alt="Image" 
src="https://github.com/user-attachments/assets/1aad1738-bf9e-401a-9c79-1d9dc177790c";
 />
   
   If you we copy and paste that usertask (Ctrl + C & Ctrl + V), and edit the 
new task data mappings we see in the popup, that although the mappings have 
been copied, the source is showing and id instead of the process variable
   
   <img width="1024" height="607" alt="Image" 
src="https://github.com/user-attachments/assets/0e1649f0-8755-4636-aba4-fcae8a6de7b5";
 />
   
   Looking at the bpmn, the new task is using wrong `sourceRefs` in the 
`dataInputAssociation`:
   
   ```xml
   <bpmn2:definitions..>
      <bpmn2:property id="_4B09D911-AF98-4598-9917-44F93D020984" name="fail1" 
itemSubjectRef="_BCC9DDD3-7C9B-479C-8A17-0EC8DCFFC395" />
       <bpmn2:property id="_05B7DF17-CAF0-40C2-8D2C-5D4D848B43EA" name="fail2" 
itemSubjectRef="_BCC9DDD3-7C9B-479C-8A17-0EC8DCFFC395" />
   ...
       <!--- Original task with right mappings -->
       <bpmn2:userTask id="_EB580F47-1F0C-46A2-AF7A-9CB214E4E470" name="User 
Task 1"> 
         <bpmn2:dataInputAssociation id="_78BEFA77-DEA9-4E02-849B-227B7C9D4F10">
           
<bpmn2:sourceRef>_4B09D911-AF98-4598-9917-44F93D020984</bpmn2:sourceRef> 
           
<bpmn2:targetRef>_84B3C20A-C383-4B46-8807-CC6E9DEA9BDF</bpmn2:targetRef>
         </bpmn2:dataInputAssociation>
         <bpmn2:dataInputAssociation id="_32564304-266B-4A04-AB94-7F83DFA1A948">
           
<bpmn2:sourceRef>_05B7DF17-CAF0-40C2-8D2C-5D4D848B43EA</bpmn2:sourceRef>
           
<bpmn2:targetRef>_72CC7892-D309-4E90-B377-4EADDB52F362</bpmn2:targetRef>
         </bpmn2:dataInputAssociation>
       </bpmn2:userTask>
       <!--- copied task with wrong associations -->
       <bpmn2:userTask id="_EDFBEDAF-4E84-42FB-BBBB-A13198167986" name="User 
Task 1">
         <bpmn2:dataInputAssociation id="_0C418901-B20D-4668-818F-629E29D171C9">
           
<bpmn2:sourceRef>_8BDB92A2-FFFF-475E-856B-7C0F7F3C8B0F</bpmn2:sourceRef>
           
<bpmn2:targetRef>_F7983766-B097-4E80-9E46-BD13DF19DCF3</bpmn2:targetRef>
         </bpmn2:dataInputAssociation>
         <bpmn2:dataInputAssociation id="_A9A5F45E-C69C-472F-94BA-50020F06EAE0">
           
<bpmn2:sourceRef>_F881B60D-4264-4640-A440-F5C407131BE3</bpmn2:sourceRef>
           
<bpmn2:targetRef>_F3D2A84C-7037-4A85-9B8C-5F0E862F7470</bpmn2:targetRef>
         </bpmn2:dataInputAssociation>
       </bpmn2:userTask>
   </bpmn2:definitions>
   ```


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