Adding a ScriptTask Property


#1

Hii ,

I want to add additional property in Details tab of General Tab as in input .

image

What would be the best way to do it , and generate a bpmn file correctly like this

PS: I’m using properties-panel


      <bpmn2:scriptTask id="Task_1oj1b8n">
      <bpmn2:incoming>SequenceFlow_1dyecyx</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_12wsr4f</bpmn2:outgoing>
      <bpmn2:property id="Property_1" itemSubjectRef="ItemDefinition_62" name="taskVar1">
        <bpmn2:dataState id="DataState_2" name="Data State 2"/>
      </bpmn2:property>
      <bpmn2:script>hey you</bpmn2:script>

    </bpmn2:scriptTask>

#2

This seems to be a duplicate. Please have a look inside the properties panel extension I posted.