Update:
I added
<blockcode>
execution.setVariable("_inLong", _inLong);
</blockcode>
In the <script> and it is much better, it works.
But apparently, the condition I do later on this value does not work.
i.e.:
<blockcode>
<sequenceFlow id="flow1" sourceRef="exclusivegateway4" targetRef="endevent1">
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${_inLong >= _counter}]]></conditionExpression>
</sequenceFlow>
</blockcode>
does not work, does anyone has an idea?
thanks,