Hi.
In our company requirement force us to use association between two DataObjectReference. I have implemented a custom rule for '‘connection.create’ event as following :
if (isAny(source, [‘bpmn:DataObjectReference’, ‘bpmn:DataStoreReference’]) &&
isAny(target, ['bpmn:DataObjectReference', 'bpmn:DataStoreReference', 'bpmn:Gateway'])) {
return { type: 'bpmn:SequenceFlow' };
}
it works and i am able to connect two DataObjectReference but when i attempt to drag one of DataObjectReference objects around the connection disappears. what am i doing wrong? please help me.