Hi all,
I am creating a custom template for modeller to use for userTasks. My template as following:
{
"name": "Starter Eligibility Setting",
"id": "com.camunda.example.CheckInvoiceTask",
"appliesTo": [
"bpmn:UserTask"
],
"properties": [
{
"label": "Is Starter Eligible After",
"type": "Boolean",
"binding": {
"type": "camunda:property",
"name": "isStarterEligible"
}
},
{
"value": "execution.setVariableLocal(isOkey,true)",
"type": "Hidden",
"binding": {
"type": "camunda:executionListener",
"event": "start",
"scriptFormat": "groovy"
}
}
]
}
I want to add groovy script according to value of the first boolean property. Is there any way to realize this?
Thanks