Set color connection

var activityShape = elementRegistry.get(‘SendTask_09dl0dt’);

var outgoing = activityShape.outgoing;
var outgoingGfx = elementRegistry.getGraphics(outgoing);
outgoingGfx.select(‘path’).attr({stroke: ‘blue’});

================
Hi, may I ask is there something changed?

I can get “outgoing” which is the connection line. but when I call

var outgoingGfx = elementRegistry.getGraphics(outgoing);

outgoingGfx is undefined.

Thanks a lot