Good evening everybody, I am a bit at a loss working with the workflow variables: The questions is rather simple - Which variable is accessible where - and how. I learned there are * task-related variables : The variables from the task form ?* process-related variables: The variables from the workflow model ? * more ? And where are these accessible : Here is my code on "node-leave" <event type="node-leave">
<script>
<variable name="bpm_workflowDescription" access="read,write" />
<variable name="chk_EAdescription" access="read,write" />
<variable name="chk_EApriority" access="read,write" />
<variable name="chk_Deadline" access="read,write" />
<variable name="chk_EAname" access="read" />
<variable name="bpm_workflowPriority" access="read"></variable>
<variable name="bpm_description" access="read"></variable>
<variable name="bpm_workflowDuedate" access="read"></variable>
<expression>
bpm_workflowDescription = chk_EAname;
if (bpm_workflowPriority != void) chk_EApriority = bpm_workflowPriority;
System.out.println("bpm_workflowDescription =" + bpm_workflowDescription);
System.out.println("bpm_description =" + bpm_description);
System.out.println("bpm_workflowDuedate =" + bpm_workflowDuedate);
System.out.println("bpm_workflowPriority =" + bpm_workflowPriority);
System.out.println("Token =" + token.comments.get(0).getMessage());
System.out.println("Workflowpriority =" + bpm_workflowPriority);
if (bpm_description != void) chk_EAdescription = bpm_description;
System.out.println("chk_EAdescription =" + chk_EAdescription);
if (bpm_workflowDuedate != void) chk_Deadline = bpm_workflowDuedate;
System.out.println("bpm_workflowDuedate =" + bpm_workflowDuedate);
System.out.println("chk_Deadline =" + chk_Deadline);
</expression>
</script></event>Result : the bpm_variables are null - except for workflowdescription - which I set from another field I use - and bpm_workflowPriority. Any ideas ? More infos for the basics ? I seem to be too stupid for the wiki explanationsNorgan