First cut of Alfresco Node support in jBPM process instances:

- NodeRefs placed into process context are converted to Script Nodes (as used in javascript)
- jBPM persistence of Nodes configured to serialize/deserialize as NodeRef strings
- jBPM process script (Beanshell) can access Alfresco Nodes in same manner as Alfresco Javascript

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3484 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
David Caruana
2006-08-11 14:08:49 +00:00
parent 0b74cbb36c
commit 17ab601380
10 changed files with 402 additions and 31 deletions

View File

@@ -178,6 +178,18 @@
<parent>bpm:task</parent>
<properties>
<!-- -->
<!-- Associated Workflow -->
<!-- -->
<property name="bpm:workflowDefinitionId">
<title>Workflow Definition Id</title>
<type>d:text</type>
</property>
<property name="bpm:workflowInstanceId">
<title>Workflow Instance Id</title>
<type>d:text</type>
</property>
<!-- -->
<!-- Task Context -->
@@ -188,6 +200,8 @@
<type>d:noderef</type>
</property>
<!-- TODO: Add Package Action Group -->
</properties>
<associations>
@@ -235,6 +249,8 @@
<properties>
<!-- TODO: Move to Task -->
<!-- Items within package that have been marked as complete -->
<property name="bpm:completedItems">
<type>d:noderef</type>

View File

@@ -47,7 +47,7 @@
<bean id="jbpm_configuration" class="org.springmodules.workflow.jbpm31.LocalJbpmConfigurationFactoryBean">
<property name="sessionFactory" ref="sessionFactory"/>
<property name="configuration" value="classpath:org/jbpm/default.jbpm.cfg.xml"/>
<property name="configuration" value="classpath:org/alfresco/repo/workflow/jbpm/jbpm.cfg.xml"/>
</bean>
<bean id="jbpm_template" class="org.springmodules.workflow.jbpm31.JbpmTemplate">
@@ -61,6 +61,7 @@
<property name="namespaceService" ref="NamespaceService"/>
<property name="nodeService" ref="nodeService"/>
<property name="personService" ref="personService"/>
<property name="serviceRegistry" ref="ServiceRegistry"/>
</bean>
</beans>