03-02-2009 08:31 AM
<types>
<type name="fca:submitPoc1Task">
<parent>bpm:startTask</parent>
<properties>
<property name="fca:eimms">
<type>d:text</type>
</property>
</properties>
<overrides>
<property name="bpm:packageActionGroup">
<!– <type>d:text</type> –>
<default>add_package_item_actions</default>
</property>
</overrides>
<mandatory-aspects>
<aspect>bpm:assignee</aspect>
</mandatory-aspects>
</type>
<type name="fca:poc1Task">
<parent>fca:basePoc1Task</parent>
<overrides>
<property name="bpm:packageActionGroup">
<!– <type>d:text</type> –>
<default>read_package_item_actions</default>
</property>
</overrides>
</type>
</types>
<config evaluator="node-type" condition="fca:submitPoc1Task" replace="true">
<property-sheet>
<separator name="sep1" display-label-id="general" component-generator="HeaderSeparatorGenerator" />
<!– <show-property name="bpm:workflowDescription" component-generator="TextAreaGenerator" /> –>
<show-property name="bpm:description" component-generator="TextAreaGenerator" />
<!– <show-property name="bpm:workflowPriority" /> –>
<separator name="sep2" display-label-id="users_and_roles" component-generator="HeaderSeparatorGenerator" />
<show-association name="bpm:assignee" />
<show-property name="fca:eimms"/>
</property-sheet>
</config>
<config evaluator="node-type" condition="fca:poc1Task" replace="true">
<property-sheet>
<separator name="sep1" display-label-id="general" component-generator="HeaderSeparatorGenerator" />
<show-property name="bpm:taskId" />
<show-property name="bpm:description" component-generator="TextAreaGenerator" />
<show-property name="bpm:status" />
</property-sheet>
</config>
<type name="fca:basePoc1Task">
<parent>bpm:startTask</parent>
<properties>
<property name="fca:eimms">
<type>d:text</type>
<default></default>
<constraints>
<constraint ref="list:eimms" />
</constraints>
</property>
</properties>
<overrides>
<property name="bpm:packageActionGroup">
<!– <type>d:text</type> –>
<default>add_package_item_actions</default>
</property>
</overrides>
<mandatory-aspects>
<aspect>bpm:assignee</aspect>
</mandatory-aspects>
</type>
03-02-2009 10:40 AM
<task-node name="step1">
<task name="fca:poc1Task" swimlane="assignee"/>
<event type="task-create">
<script>
if (fca_eimms != void) taskInstance.fca_eimmsBis = fca_eimms;
</script>
</event>
<transition name="endName" to="end"/>
</task-node>
"Caused by: Sourced file: inline evaluation of: `` if (fca_eimms != void) taskInstance.fca_eimmsBis = fca_eimms; ;'' :
Field access: bsh.ReflectError: No such field: fca_eimmsBis : at Line: 2 : in file: inline
evaluation of: `` if (fca_eimms != void) taskInstance.fca_eimm
sBis = fca_eimms; ;'' : taskInstance .fca_eimmsBis"
03-02-2009 10:53 AM
03-03-2009 05:14 AM
03-03-2009 09:21 AM
<task name="fca:poc1Task" swimlane="assignee">
<event type="task-create">
<script>
if (fca_eimms != void) taskInstance.setVariable("fca_eimmsBis", fca_eimms);
</script>
</event>
<transition name="endName" to="end"/>
</task-node>
</task>
03-03-2009 04:58 PM
- 3/ I then tried to have those two tasks heritate of a custom type (and not of bpm:startTask)That's the right way.
03-04-2009 04:59 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.