Hi Team,
I tried to include compensation boundary event in my workflow. When my Task 1 is completed, it will trigger Notification.
In my case it’s not happening.
Please find the flow and xml
startEvent id=“startEvent1” flowable:formFieldValidation=“true”>
userTask id=“sid-70602C84-F259-463C-BA52-52B75FE1D727” name=“Task1” flowable:formFieldValidation=“true”>
sequenceFlow id=“sid-9F223507-6899-4B28-BEA1-56CF0EED8E7C” sourceRef=“startEvent1” targetRef=“sid-70602C84-F259-463C-BA52-52B75FE1D727”>
endEvent id=“sid-75F29C25-C672-4522-ABD7-FF6CC520BEEF”>
sequenceFlow id=“sid-3C81162B-0787-411F-BA6A-866144F65EAB” sourceRef=“sid-70602C84-F259-463C-BA52-52B75FE1D727” targetRef=“sid-75F29C25-C672-4522-ABD7-FF6CC520BEEF”>
boundaryEvent id=“sid-555398B8-5400-42F2-8785-D01A046D03AC” attachedToRef=“sid-70602C84-F259-463C-BA52-52B75FE1D727” cancelActivity=“false”>
serviceTask id=“sid-33999711-5452-45A4-9494-6B5FA04B3702” name=“Notification” isForCompensation=“true” flowable:class=“com.test.Compensation”>
association id=“sid-9E618AF6-8B6B-426E-8B5F-6ADEA321A280” sourceRef=“sid-555398B8-5400-42F2-8785-D01A046D03AC” targetRef=“sid-33999711-5452-45A4-9494-6B5FA04B3702” associationDirection=“None”>
Also during deployment it is showing no connection between Task1 and Notification Task.