Open jinyoung opened 7 years ago
데피니션 생성단계에서 처음부터 존재하지 않는 key 에 대한 prop mute 를 방지하기 위해, Activity 를 제작할떄, createNew 를 computed 에 다음과 같은 형식으로 복붙하되 필요한 값을 넣을것.
CallActivity 에서는 definitionId,variableBindings,roleBindings 세가지를 추가하였음.
computed: {
.
.
createNew(newTracingTag, x, y, width, height){
return {
_type: this.className(),
name: {
text: ''
},
tracingTag: newTracingTag,
definitionId: null, ==> null 이라도 등록은 해놔야 한다.
variableBindings: [],
roleBindings: [],
elementView: {
'_type': 'org.uengine.kernel.view.DefaultActivityView',
'id': newTracingTag,
'x': x,
'y': y,
'width': width,
'height': height,
'style': JSON.stringify({})
}
}
}
},
남은 작업:
Create CallActivity variable for Task