[jboss-user] [jBPM Users] - Re: [JBPM4] Is there a way to create subprocess programatica

2009-11-18 Thread sushantgupta402
@Priyesh JBPMTransientStorage is a substitute for the transient variable . I used it bcoz transient variables were not working as expected in my case. So if you want you can use the transient variable as well. noOfTrantisionsFromNode variable is getting set from my application based on the crit

[jboss-user] [jBPM Users] - Re: [JBPM4] Is there a way to create subprocess programatica

2009-11-17 Thread sushantgupta402
Hi ZP, Really sorry for not sending you this earlier. I had the files ready but somehow just couldn't send it to you. Here is the outline of what I did. Where-ever I wanted the fork functionality I have created a simple node and added the following as the handler "CustomNodeHandlerFork.java" an

[jboss-user] [jBPM Users] - Re: [JBPM4] Is there a way to create subprocess programatica

2009-11-13 Thread sushantgupta402
Yes I could do it. Give me some time and I will post the solution. If you want give me your email id I will send you the solution directly... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4265458#4265458 Reply to the post : http://www.jboss.org/index.html?mo

[jboss-user] [jBPM Users] - Re: [JBPM4 Error]Getting error while 2 tasks are created on

2009-10-27 Thread sushantgupta402
Nils, For me it happens even if the second task in not a notification node. Please see the process definition attached by me. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262559#4262559 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posti

[jboss-user] [jBPM Users] - Re: [JBPM4 Error]Getting error while 2 tasks are created on

2009-10-26 Thread sushantgupta402
Hi Nils, I did not tried much to figure out a workaround for the problem as our client decided to go with an earlier version of JBPM. I will try to find a workaround by this weekend if it is too late do let me know and I may try too get it done earlier. I think one of the workaround would be to

[jboss-user] [JBoss jBPM] - Re: [JBPM4 Error]Getting error while 2 tasks are created on

2009-08-04 Thread sushantgupta402
| | http://jbpm.org/4.0/jpdl";> | | | | | | | | | | | | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247819#4247819 Reply to the post : http://www.jboss.o

[jboss-user] [JBoss jBPM] - Re: [JBPM4] Error while ending a process having a sub-proces

2009-08-04 Thread sushantgupta402
MainProcess = | | | http://jbpm.org/4.0/jpdl";> | | | | | | | | | | SubProcess = | | | http://jbpm.org/4.0/jpdl";> | | | | |

[jboss-user] [JBoss jBPM] - Re: [JBPM4 Error]Getting error while 2 tasks are created on

2009-08-04 Thread sushantgupta402
=== Environment == - jBPM Version : jBPM4.0 - Database : Oracle 10g - JDK : jdk1.5.0_16 - Container : jdk1.5.0_16 - Configuration : No customization done - Libraries : libraries that comes with jBPM === Process ==

[jboss-user] [JBoss jBPM] - [JBPM4] Error while ending a process having a sub-process

2009-08-04 Thread sushantgupta402
=== Environment == - jBPM Version : jBPM4.0 - Database : Oracle 10g - JDK : jdk1.5.0_16 - Container : jdk1.5.0_16 - Configuration : No customization done - Libraries : libraries that comes with jBPM === Process == MainPro

[jboss-user] [JBoss jBPM] - Re: task due date

2009-07-30 Thread sushantgupta402
have you checked the due date of the timers in the database? The timer will be created based on the business calendar configuration. If the duedate of timer is not correct tweak your calender config. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4247152#42471

[jboss-user] [JBoss jBPM] - [JBPM4] Is there a way to create subprocess programatically?

2009-07-30 Thread sushantgupta402
Hi, I have a requirement to create "n" number of sub process where "n" is not fixed and can be determined only in run time. I am trying to find out if there is a way to do the same in JBPM4. I have seen many solution for JBPM3 but not for JBPM4. Please help this is urgent!!! View the original

[jboss-user] [JBoss jBPM] - Re: Process Definition Deployment using ZipInputStream

2009-07-30 Thread sushantgupta402
try the code below public static void main(String[] args) { ProcessEngine processEngine = new Configuration() .buildProcessEngine(); RepositoryService repositoryService = processEngine.getRepositoryService();

[jboss-user] [JBoss jBPM] - [JBPM4 Error]Getting error while 2 tasks are created on same

2009-07-29 Thread sushantgupta402
I have a process as below (Start -> Task-1(Assign it to User1) -> Task-2(Assign it to User2) -> Task-3 (Assign to User 3) -> End. I started the process instance and then signalled the it from Start to Task-1 a task is generated for User1 (checked in the database). Now I signalled the process aga

[jboss-user] [JBoss jBPM] - [JBPM4] Migration from one process definition version to ano

2009-07-29 Thread sushantgupta402
We have a requirement that to comply with certain laws the business process definition may be changed and all the process instances should follow the new path defined in the new process definition. I have 2 questions here: 1. Is this doable/advisable? 2. Is there something out of the box which JB

[jboss-user] [JBoss jBPM] - How to create Timers in a Task node.

2009-07-28 Thread sushantgupta402
Hi, I have a situation where I have to set the dueDate of the timer on the fly when I enter the task node which has the timers(2 timers). Is there a way to do it? If not how can I create the timers associated with a task node using APIs. Thanks in Advance. View the original post : http://www.jb

[jboss-user] [JBoss jBPM] - Re: How to create Timers in a Task node.

2009-07-28 Thread sushantgupta402
I m using JBPM 3.3.1 and JBPM 3.2.2. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4246348#4246348 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4246348 ___ jboss-user mailing

[jboss-user] [JBoss jBPM] - Re: [JBPM4] How to maintain class files for different Proces

2009-07-23 Thread sushantgupta402
But in JBPM3 even if there is a chnage in the class definition one need not version their classes. JBPM takes care of the class versioning itself. But it seems that facility is not there in the JBPM4 please refer /doc/userguide/html_single/index.html#deployingclasses. But once discussing with one

[jboss-user] [JBoss jBPM] - Re: [JBPM4] How to maintain class files for different Proces

2009-07-23 Thread sushantgupta402
In JBPM3 even if there is some change in the class what all you have to do is make relevant changes in the class and deploye the whole process. No need to change the package of the class or class name. But in JBPM 4 you have to change the class name of class package both of which will result in

[jboss-user] [JBoss jBPM] - Re: [JBPM4] How to maintain class files for different Proces

2009-07-23 Thread sushantgupta402
Using repositoryService.createDeployment() .addResourceFromClasspath("org/jbpm/examples/services/Order.jpdl.xml") .deploy(); View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245717#4245717 Reply to the post : http://www.jboss.org/index.html?module=bb&op

[jboss-user] [JBoss jBPM] - Re: [JBPM4] How to maintain class files for different Proces

2009-07-23 Thread sushantgupta402
You understood it correctly but does is there any otehr way because changing the class name doesn't looks like a clean approach. Is there something like JBPM3 where u need not care for the class packaging? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245714

[jboss-user] [JBoss jBPM] - Due Date and End Date of a Task.

2009-07-23 Thread sushantgupta402
What is the significance of Due Date and End Date in a Task. Is due date anyways connected to the appearence of Task in user's task list? Does specifying end date marks the end of the task? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245174#4245174 Reply

[jboss-user] [JBoss jBPM] - Re: Due Date and End Date of a Task.

2009-07-23 Thread sushantgupta402
So how do I delay the appearence of task in the user's task list. How about using timer for this? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245188#4245188 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245188

[jboss-user] [JBoss jBPM] - How to get Task based on Task Variables.

2009-07-23 Thread sushantgupta402
Is it possible to fetch task based on task variables? Suppose I store name of the client with the Task and want to show all the task related with the client? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245203#4245203 Reply to the post : http://www.jboss.

[jboss-user] [JBoss jBPM] - Re: How to get Task based on Task Variables.

2009-07-23 Thread sushantgupta402
I am working on JBPM3.3.1 and JBPM3.2.2 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245367#4245367 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245367 ___ jboss-user mail

[jboss-user] [JBoss jBPM] - Can I configure the following

2009-07-23 Thread sushantgupta402
Hi, I have a requiement to manage following through configuration. Is it possible? a) Next Step for a task b) For whom the task will be generated c) To whom the e-mail will be sent Also is there a way to modify process definition programatically? The above question is applies to following ver

[jboss-user] [JBoss jBPM] - [JBPM4] How to maintain class files for different Process ve

2009-07-23 Thread sushantgupta402
If I have 2 different version of a Process having different class file versions. How can I maintain this in JBPM4 version. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245554#4245554 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&

[jboss-user] [JBoss jBPM] - Re: Can I configure the following

2009-07-23 Thread sushantgupta402
Can I keep it some where in JBPM so that whenever I change these it will take effect automatically. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4245556#4245556 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4245556 __

[jboss-user] [JBoss jBPM] - Re: JBPM Documentation

2009-07-13 Thread sushantgupta402
"it notifies the sub process" this means it signals the process state node to continue. So here what we have to do is manually figure out if all the sub processes has ended if not then we have to put the execution back to the process state node. "So what you want is to use the for each forkhand

[jboss-user] [JBoss jBPM] - Token & Task Variables.

2009-07-13 Thread sushantgupta402
I have certain question about Token. 1. What is a token? 2. Do we get a separate token for each node or just one toke for the entire process definition? 3. If I am programmatically creating multiple instances of a Task can I have same set of variables but different values for all of them and also

[jboss-user] [JBoss jBPM] - Re: JBPM Documentation

2009-07-13 Thread sushantgupta402
Yes you are right that if a subprocess is ended it will take due care to notify the parent but how about multiple subprocesses? In case of multiple subprocesses each one signals the parent and that creates a problem. Luckily I figured out the way but there is one more problem. Here is the busine

[jboss-user] [JBoss jBPM] - Re: JBPM Documentation

2009-07-13 Thread sushantgupta402
Hi Ronald thanks for the reply the book you have suggested is good but doesn't speak much about the jPDL moreover the book's title itself says that it is mainly for business analysts. If you have any idea can you please explain how can I figure out if all the subrocesses has ended before moving

[jboss-user] [JBoss jBPM] - JBPM Documentation

2009-07-13 Thread sushantgupta402
Hi, I am a new to JBPM and found that there is very less documentation or proper documentation of the features of JBPM. Is there any book or reference material other than the user guide? Also is there a specific documentation on how to use execution context? A quick help will be highly apprecia