11-15-2006 10:28 AM
(…)
<start-state name="Start">
<task name="ecm:Task1" swimlane="initiator">
<controller>
<variable name="ecm:1" access="read,write,required" mapped-name="ecm:m11"/>
<variable name="ecm:2" access="read" mapped-name="ecm:m12"/>
<variable name="ecm:3" access="write" mapped-name="ecm:m13"/>
</controller>
</task>
<transition name="" to="Node2"></transition>
</start-state>
<task-node name="Node2">
<task name="ecm:Task2" swimlane="initiator">
<controller>
<variable name="ecm:1" access="read,write,required" mapped-name="ecm:m21"/>
<variable name="ecm:2" access="read,write" mapped-name="ecm:m22"/>
<variable name="ecm:3" access="read" mapped-name="ecm:m23"/>
</controller>
</task>
<transition name="" to="end"></transition>
</task-node>
(…)
[/size](…)
<type name="ecm:Task1">
<parent>bpm:startTask</parent>
<properties>
<property name="ecm:m11">
<type>d:int</type>
</property>
<property name="ecm:m12">
<type>d:int</type>
</property>
<property name="ecm:m13">
<type>d:int</type>
</property>
</properties>
</type>
<type name="ecm:Task2">
<parent>bpm:workflowTask</parent>
<properties>
<property name="ecm:m21">
<type>d:int</type>
</property>
<property name="ecm:m22">
<type>d:int</type>
</property>
<property name="ecm:m23">
<type>d:int</type>
</property>
</properties>
</type>
(…)
[/size](…)
<config evaluator="node-type" condition="ecm:Task2" replace="true">
<property-sheet>
<show-property name="ecm:m11" />
<show-property name="ecm:m12" />
<show-property name="ecm:m13" />
</property-sheet>
</config>
<config evaluator="node-type" condition="ecm:Task2" replace="true">
<property-sheet>
<show-property name="ecm:m21" />
<show-property name="ecm:m22" />
<show-property name="ecm:m23" />
</property-sheet>
</config>
(…)
[/size]11-15-2006 01:45 PM
<variable name="ecm_2" access="read" mapped-name="ecm_m12"/>
the m11 property isn't mandatory (neither in the first task nor in the second)
Since properties with identical names in different task types are forbidden, I had defined one "base task type" of which every task in my workflow was a child.
11-16-2006 05:37 AM
the m11 property isn't mandatory (neither in the first task nor in the second)
I'll check this one.
11-16-2006 06:15 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.