Re: [jboss-user] [jBPM] - JPDL feature request
by Huisheng Xu
Huisheng Xu [http://community.jboss.org/people/rebody] replied to the discussion
"JPDL feature request"
To view the discussion, visit: http://community.jboss.org/message/536042#536042
--------------------------------------------------------------
Hi Alexei,
The schema of jPDL is included by the jBPM distribution file. You could get it from the http://sourceforge.net/projects/jbpm/files/。 http://sourceforge.net/projects/jbpm/files/。
As you can see in the .jpdl.xml, the latest version is 4.3, so you can find out there is a file named jpdl-4.3.xsd in the src directory.
The distribution file includes a Graphical Process Designer, it is a eclipse plugin, you could use it to design jPDL process definitions. You could find more information in the User Guide. http://docs.jboss.com/jbpm/v4/userguide/html_single/#graphicalprocessdesi... http://docs.jboss.com/jbpm/v4/userguide/html_single/#graphicalprocessdesi...
In my opinion, the season why jPDL didn't seperate the g="1,2,3,4" to x="1" y="1" w="1" h="1" is the transition could have more than one point in the g attribute, but I don't very clearly for that, maybe someone else could give us the reason of this.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/536042#536042]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
16 years
[Datasource Configuration] - three identical datasources, two available, one unavailable?!
by Sebastian Bayerlein
Sebastian Bayerlein [http://community.jboss.org/people/sebbay] created the discussion
"three identical datasources, two available, one unavailable?!"
To view the discussion, visit: http://community.jboss.org/message/536038#536038
--------------------------------------------------------------
Hello,
I am using JBoss 5.1.0 and configured three identical datasources with different JNDI-Names.
datasource RTBSDataSource:
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<no-tx-datasource>
<jndi-name>RTBSDataSource</jndi-name>
<connection-url>jdbc:oracle:thin:@xxx:yyy:zzz</connection-url>
<use-java-context>false</use-java-context>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<user-name>USR</user-name>
<password>PWD</password>
<min-pool-size>5</min-pool-size>
<max-pool-size>32</max-pool-size>
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
<metadata>
<type-mapping>Oracle9i</type-mapping>
</metadata>
</no-tx-datasource>
</datasources>
datasource B1TRANSLATION:
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<no-tx-datasource>
<jndi-name>B1TRANSLATION</jndi-name>
<connection-url>jdbc:oracle:thin:@xxx:yyy:zzz</connection-url>
<use-java-context>false</use-java-context>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<user-name>USR</user-name>
<password>PWD</password>
<min-pool-size>5</min-pool-size>
<max-pool-size>32</max-pool-size>
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
<metadata>
<type-mapping>Oracle9i</type-mapping>
</metadata>
</no-tx-datasource>
</datasources>
datasource CubeDataSource:
<?xml version="1.0" encoding="UTF-8"?>
<datasources>
<no-tx-datasource>
<jndi-name>CubeDataSource</jndi-name>
<connection-url>jdbc:oracle:thin:@xxx:yyy:zzz</connection-url>
<use-java-context>false</use-java-context>
<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
<user-name>USR</user-name>
<password>PWD</password>
<min-pool-size>5</min-pool-size>
<max-pool-size>32</max-pool-size>
<exception-sorter-class-name>org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter</exception-sorter-class-name>
<metadata>
<type-mapping>Oracle9i</type-mapping>
</metadata>
</no-tx-datasource>
</datasources>
Has somebody an idea, why the datasources RTBSDataSource and CubeDataSource are in state 'available' and the datasource B1TRANSLATION is in state 'unavailable'?
When starting up JBoss, I get no errors.
Best regards,
sebbay
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/536038#536038]
Start a new discussion in Datasource Configuration at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
16 years
Re: [jboss-user] [jBPM] - task for multiple users
by Huisheng Xu
Huisheng Xu [http://community.jboss.org/people/rebody] replied to the discussion
"task for multiple users"
To view the discussion, visit: http://community.jboss.org/message/536037#536037
--------------------------------------------------------------
Hi Koen,
Yes, I think it is most likely put a dynamic fork/join into a task. But there is still some problem when we try to implement this feature.
In jBPM4, we could only create a task for one execution. Even if I implement a CustomActivity and create multiply task in one activity, there is no way to observe when and how the sub task was completed.
In the simplest scenario, the process designer could only decide the participants of the activity, when the process instance arrived the activity, we could create multiply task bye the participants. In the more complex scenario, the participants of the activity is also dynamic, the engine should decide who should be assigned a task in the runtime. Even more, there may be multiple strategy for task completion. For example, if all of participants approved, the process instance could continue. if 60 percent participants approved, or someone may have an absolutely reject vote, etc.
Now in order to implement features like this, I must make a lot of change of pvm. if you are interested in these, I could show the sample codes.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/536037#536037]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
16 years
[jBPM] - JPDL feature request
by Alexei none
Alexei none [http://community.jboss.org/people/Jump] created the discussion
"JPDL feature request"
To view the discussion, visit: http://community.jboss.org/message/536026#536026
--------------------------------------------------------------
My JBPM was shipped with following process definition
<?xml version="1.0" encoding="UTF-8"?>
<process name="Order" xmlns="http://jbpm.org/4.3/jpdl">
<start g="16,19,48,48">
<transition to="receive confirmation" />
</start>
<state name="receive confirmation" g="96,16,136,52">
<transition to="end" />
</state>
<end name="end" g="269,20,48,48"/>
</process>
So the first question is what is the version of jpdl above? Are there any UI editors for that version of jpdl? Are there any schemas?
And a small feature request: is it possible to split single attribute g="96,16,136,52" into 4 separate attributes x="96" y="16" width="136" height="52" ?
Why do I need it ? First of all, jpdl will be more obvious. Then I was going to create xslt to transform jpdl to svg with process image, but tokenizing g attribute requires some complicated logic (by the way, tokenize is only available fo xslt 2.0, for 1.0 you should use split). So, splitting g into separate attributes will simplify xslt a lot.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/536026#536026]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
16 years