Hi, I try to write an element template that allows user to set current process step so it will be then stored in global variables. I don’t want to call any service task so it won’t delay the process execution time.
I’ve tried extending “Intermediate throw event” but looks like it does not evaluate input, only output so even if input variables are defined they are not evaluated.
"properties" : [ {
"id" : "stepName",
"label" : "Step name",
"optional" : true,
"feel" : "optional",
"group" : "progress",
"binding" : {
"name" : "stepName",
"type" : "zeebe:input"
},
"type" : "String"
}, {
"id" : "progress.stepName",
"label" : "Result variable",
"group" : "progress",
"value": "progress.stepName",
"binding" : {
"type" : "zeebe:output",
"source": "=stepName"
},
"type" : "Hidden"
}]
the result is progress.stepName = null because stepName variable is null even though it’s configured in the element definition.
What base element I could extend so that both input and output variables would be resolved? Generic tasks doesn’t resolve either input or output.
Other option would be to just define output variable but as I understand user can only enter target property, what I want is that target property is hardcoded but user can only provide static value.