hi problem is this:
I have task where user must upload document,
is there a way to set this up? if there is please say how because I have not fount id.
————
because I have not found solution this was the idea:
task A remember number of uploaded documents
decision : if(bpm_childeren.size()>count) next task else task A.
but problem is in variables.
<task-node name="ZahtevZaKreiranjeUpitnika">
<task name="od:ZahtevZaKreiranjeUpitnika" swimlane="salessupport" />
<event type="node-enter">
<action class="org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript">
<script>
<variable name="bpm_package" access="read" />
<expression>
od_tempCnt= bpm_package.children.length;
</expression>
<variable name="od_tempCnt" access="write" />
</script>
</action>
</event>
.
.
.
</task-node>
<decision name="decision1">
<transition to="ProveraKvalitetaUpitnika">
<condition>#{bpm_package.children.length>=od_tempCnt}</condition> IN HERE VARIABLE IN UNDEFINED OR NULL
</transition>
<transition to="Uploaduj upitnik" name="Fali dokument">
</transition>
</decision>
PLEASE HELP :!: