[JBoss jBPM] - Re: Oracle Workflow conversion to JBPM - Automation
by a-sqr
Regarding the points
- supports conversion of 'decisionnodes' with custom oracle script converted to EL
Transition from Decision nodes are defined in two ways in oracle:
1: item attributes are compared to other item attributes or other constant values.
-> This is converted to transition based on condition such as
<condition expression="#{SAVED_DRAFT == 'True'}"/>
2: Custom oracle procedures are called which returns Equal etc.
-> This is handled through a decision handler, which is added by the plugin. But developer has to manually edit the decide method to call right procedures. Plugin will only add the decision handler.
- supports conversion of non-nested fork/join pairs to fully nested ones
It converts fork/join pairs but nested one I have not implemented yet. It can be added in next release. Can you please provide a complete sample jpdl for nested fork join case so that I can implement the logic for the same.
Thanks & Regards
Ashu
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208007#4208007
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208007
15 years, 4 months
[JBoss jBPM] - Timer and org.jbpm.web.JobExecutorLauncher in jbpm3.2GA
by tomerbd2
Hi,
I'm trying to use a timer, so I have added the following code to my web xml
<listener>
| <description>
| Starts the job executor on servlet context initialization and stops it on
| servlet context destruction.
| </description>
| <listener-class>org.jbpm.web.JobExecutorLauncher</listener-class>
| </listener>
However when i run my workflow it says:
anonymous wrote :
| Error instantiating web-application
| Error loading listener 'org.jbpm.web.JobExecutorLauncher', class not found
|
I have noticed that this class file exists in 3.3.1GA and not in 3.2GA, however I do want to use 3.2GA because other releases don't support jdk1.4 (i tried for example 3.2.5GA and couldnt make it work with jdk1.4) so i'm using 3.2GA, can anyone tell me what should I put (if i should put anything) in my web.xml so that the timer will work in jbpm 3.2GA?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208006#4208006
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208006
15 years, 4 months
[JBoss jBPM] - org.hibernate.jdbc.JDBCContext - TransactionFactory reporte
by idankoch
Hi
i'm trying to run jbpm over OC4J with oracle 10g as DB
I'm using jbpm 3.2 over jdk 1.4.2
i'm trying to run Transaction example but i'm unable to
i configured my hiberante.cfg.xml as follows:
<session-factory name="java:/hibernate/SessionFactory">
<!-- hibernate dialect -->
org.hibernate.dialect.OracleDialect
<!-- JDBC connection properties (begin) -->
oracle.jdbc.driver.OracleDriver
jdbc:oracle:thin:@//****:1521/****
******
*****
<!-- JDBC connection properties (end) -->
org.hibernate.cache.HashtableCacheProvider
java:/hibernate/SessionFactory
org.hibernate.transaction.JTATransactionFactory
<!--org.hibernate.transaction.OrionTransactionManagerLookup-->
org.hibernate.transaction.OC4JTransactionManagerLookup
java:comp/UserTransaction
also my jbpm.cfg.xml as follows:
<jbpm-configuration>
<!--
This configuration is used when there is no jbpm.cfg.xml file found in the
root of the classpath. It is a very basic configuration without persistence
and message services. Only the authorization service installed.
You can parse and create processes, but when you try to use one of the
unavailable services, you'll get an exception.
-->
<jbpm-context>
</jbpm-context>
<!-- configuration property used by persistence service impl org.jbpm.persistence.db.DbPersistenceServiceFactory -->
<!-- configuration resource files pointing to default configuration files in jbpm-{version}.jar -->
<!-- bean name="jbpm.task.instance.factory" class="org.jbpm.taskmgmt.impl.DefaultTaskInstanceFactoryImpl" singleton="true" /-->
</jbpm-configuration>
but still i dont see anything being committed into the DB
in the log i get alot of :
405 [HttpRequestHandler-25515362] DEBUG org.hibernate.event.def.WrapVisitor - Wrapped collection in role: org.jbpm.taskmgmt.def.TaskMgmtDefinition.tasks
405 [HttpRequestHandler-25515362] DEBUG org.hibernate.jdbc.JDBCContext - TransactionFactory reported no active transaction; Synchronization not registered
405 [HttpRequestHandler-25515362] DEBUG org.hibernate.jdbc.JDBCContext - TransactionFactory reported no active transaction; Synchronization not registered
405 [HttpRequestHandler-25515362] DEBUG org.hibernate.jdbc.JDBCContext - TransactionFactory reported no active transaction; Synchronization not registered
405 [HttpRequestHandler-25515362] DEBUG org.hibernate.jdbc.JDBCContext - TransactionFactory reported no active transaction; Synchronization not registered
405 [HttpRequestHandler-25515362] DEBUG org.hibernate.jdbc.JDBCContext - TransactionFactory reported no active transaction; Synchronization not registered
405 [HttpRequestHandler-25515362] DEBUG org.hibernate.jdbc.JDBCContext - TransactionFactory reported no active transaction; Synchronization not registered
405 [HttpRequestHandler-25515362] DEBUG org.hibernate.jdbc.JDBCContext - TransactionFactory reported no active transaction; Synchronization not registered
405 [HttpRequestHandler-25515362] DEBUG org.hibernate.jdbc.JDBCContext - TransactionFactory reported no active transaction; Synchronization not registered
405 [HttpRequestHandler-25515362] DEBUG org.hibernate.jdbc.JDBCContext - TransactionFactory reported no active transaction; Synchronization not registered
452 [HttpRequestHandler-25515362] DEBUG org.hibernate.jdbc.JDBCContext - TransactionFactory reported no active transaction; Synchronization not registered
452 [HttpRequestHandler-25515362] DEBUG org.hibernate.engine.Cascade - processing cascade ACTION_SAVE_UPDATE for: org.jbpm.taskmgmt.def.TaskMgmtDefinition
452 [HttpRequestHandler-25515362] DEBUG org.hibernate.jdbc.JDBCContext - TransactionFactory reported no active transaction; Synchronization not registered
please advise
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207982#4207982
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207982
15 years, 5 months
[JBoss jBPM] - Dynamically creating task * nodes * for each group of actor
by elifarley
Consider the following pseudo code:
|
| // List whose elements are arrays of actor ids.
| // Its contents are not known in advance
| List<String[]> listOfArrays = { {"actor-A", "actor-B"}, {"actor-C", "actor-D"} };
|
| for (String[] actorIds : listOfArrays ) {
|
| ! create a task-node assigned to all actors in actorIds;
| ! wait until any of those actors completes his/her task by selecting either YES or NO;
| ! If the actor selected "NO", abort. Otherwise, continue.
|
| }
|
|
Example of execution:
|
| List<String[]> listOfArrays = { {"actor-A", "actor-B"}, {"actor-C", "actor-D"} };
|
| ! create task node assigned to {"actor-A", "actor-B"};
| ! wait for the task to be completed by either actor;
| (Suppose actor selected "YES")
| ! create task node assigned to {"actor-C", "actor-D"};
| ! wait for the task to be completed by either actor;
| (Suppose actor selected "YES")
| ! Done.
|
|
What would be the best way to implement this with jBPM ?
Maybe there's a way of achieving the same goal without creating task nodes...
Thanks for any ideas you may have.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207854#4207854
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207854
15 years, 5 months