Dear Koen,
I am very happy for your reply.
And I am sorry for you did not understand me. but I'll try to make it clear.
I want to create instance of this Process Definition. Then make the token to 
start at node #3 (which is do some maintenance to car) instead of start state 
without calling signal() method many time to go to node #3.

That mean 
1. I want to create a Car process when admin login to add new car to the system.

2. Then after a time system manager login to rent this car.
3. after a period the manager login again to check that the car is return but 
need some maintenance.
.....etc.

I have seen your example that available with jBPM source, in this example there 
is something like this, but my case differs from that example, in my project I 
need to persiste Car POJO data with it's current state, the POJO data contains 
many attributes that are not supported using your instance variable that 
persisted in database in jbpm_variableinstance table such as Java Vector, Set, 
ArrayList, ...etc. Any way, variables and attributes of Car POJO will be 
persisted in Car Table, so we want not to persiste the token of process 
instance, and when manager login again retrieves the Car data and creates 
instance of Car Process Difinition and set the created token current node to 
node #3 (which is the state of the retrieved car) without make many signals to 
make token reachs this node.

By another mean, I want to make a synchronization between my POJO state and the 
created token state, because our project has offline booking module that can 
not persisted till my application connect to internet.

This is Urgent for us, it will make big difference in our project developing.

Thanks alot,
Ahmed.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945253#3945253

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945253


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to