AnsweredAssumed Answered

jPDL process design strategy to ease portability to Activiti

Question asked by daramcguinness on Mar 8, 2011
Latest reply on Mar 9, 2011 by frederikheremans1
Hi,

We’re currently implementing an Alfresco project with a particular emphasis on process modeling which, due to our release timescales, is targeted at Alfresco 3.x and therefore jBPM/jPDL. Given the imminent move of Alfresco to Activiti/BPMN2.0 in future releases, we’d like to ensure that we make informed decisions around process design that will make future migration easier – especially in the area of scripting reuse and node compatibility.

As I realize that this is quite a broad area that would require a lot of discussion and comparisons between the two technologies and their integration in Alfresco, I’ll limit this post to three “big hitter” questions:

(1) Is there any material available (perhaps from work in the jBPM migration area) on how best to map from jPDL to BPMN? My thinking is that we could use this as a starting point for laying down some guidelines on how to design our new jPDL processes (for example, guidelines like: in jPDL avoid multiple transitions in favor of task node + decision node, which will map more easily to a task + Exclusive Gateway in BPMN2.0 etc.)?

(2) Is it worth it? i.e. would you (given your in-depth knowledge of both jBPM/jPDL and Activiti/BPMN2.0) consider laying down such guidelines a useful/feasible approach, or do you think we should just go ahead without constraining process definitions now and deal with migration later?

(3) Will Alfresco’s JavaScript API continue to be supported as the principle scripting means for interacting with Alfresco from Process nodes (as currently happens in jPDL using an action with class=”org.alfresco.repo.workflow.jbpm.AlfrescoJavaScript”) and, if so, will this be done using a Java Service Task (that accepts the script in input) or directly from a Script Task?

Many thanks,
Dara

Outcomes