'bpmn.Gateway': {
NumberofTrigger : {
type: 'select',
options: [
{ value: '0', content: '0' },
{ value: '1', content: '1' },
{ value: '2', content: '2' },
{ value: '3', content: '3' }
],
label: 'Number of Trigger',
group: 'general',
index: 1
},
ComparisonValue : {
type: 'text',
label: 'Comparison Value',
group: 'general',
index: 2
},
TriggerLogic : {
type: 'select',
options: ["Start With",'Contains','End With','Equals','Smaller Than','Greater Than','Not Equals','REGEX','Web Service'],
label: 'Trigger Logic',
group: 'general',
index: 1
}
},
After I drag a shape out, the inspector table will be shown and the options will be in the NumberofTrigger
select (in order to select how many triggers option to be selected) and, according to the selected value, the number of set of TriggerLogic
and ComparisonValue
will be displayed.
Since I did not find a way to solve this by reading the source code, I would like to know how can this be accomplished.