Hi,I have a little problem with my workflows.
I tried to display Data in a Task, which was entered a Task before. For Example: In Task A i set a date and the following task B should only display the date given by Task A. I tried to access those variables through process instance variables by using the <controller> and <variable> Tags in the processdefinition file and also without that. Which variables are accessible by default and how can i access them? (I read about the "standard" variables like bpm:dueDate or bpm:description but i can't access these either) How can I force my data, beeing entered in Task A, to be visible to Task B, and how can Task B access this data?Here are parts of my Definition Files:processdefinition:TASK A:
<task name="rso:submitReviewTask" swimlane="initiator" >
<controller>
<variable name="gleittagdatum" access="read,write" mapped-name="rso_gleittagdatum"/>
</controller>
</task>
TASK B:
<task name="rso:reviewTask" swimlane="reviewer">
<event type="task-create">
<script>
taskInstance.gleittagdatum = rso_gleittagdatum;
taskInstance.test = 5;
</script>
</event>
</task>
Workflow Model: <type name="rso:submitReviewTask">
<parent>bpm:startTask</parent>
<properties>
<property name="rso:gleittagdatum">
<type>d:date</type>
<mandatory>true</mandatory>
</property>
</properties>
<mandatory-aspects>
<aspect>bpm:assignee</aspect>
</mandatory-aspects>
</type>
AND
<type name="rso:reviewTask">
<parent>bpm:workflowTask</parent>
<properties>
<property name="rso:gleittag">
<type>d:date</type>
<mandatory>true</mandatory>
</property>
<property name="rso:test">
<type>d:int</type>
</property>
</properties>
<overrides>
<property name="bpm:packageItemActionGroup">
<default>edit_package_item_actions</default>
</property>
</overrides>
</type>
And finally web-client-config-custom.xml : <config evaluator="node-type" condition="rso:reviewTask" replace="true">
<property-sheet>
<separator name="sep1" display-label="Datenangabe" component-generator="HeaderSeparatorGenerator" />
<show-property name="rso:gleittagdatum" display-label="Tag"/>
<show-property name="rso:test" display-label="Test"/>
<show-property name="rso:create" display-label="Ersteller" />
</property-sheet>
</config>
Thanks for helping,Mitschi