lenin_s
04-12-2006, 05:54
Hi
I would like to take your help to come up with the best way of implementing iteration in a process model.
Let us take an example:
An agent might send a list of applications to be processed. We would need to instantiate a process model which will process the applications. We've a flow service, lets say, 'createApplication' that can interact with webSphere EJB to create one application at a time. Therefore, either in the model or in a flow service, I need to loop through the input applications and invoke 'createApplication' multiple times. I can go forward with the next step in the process only if all the applications are created.
Could you please suggest the best way of doing it. The problem comes when first few applications are created and then server crashes or the service throws an exception because of EJB unavailability(webSphere going down). How can we resume with the non-processed applications?
Service resubmit starts with all the applications again. I'm afraid checkpoint services would be of costly in terms of performance and I'm worried about repository corruption if something goes wrong.
Best Regards
Sivaraj Lenin
I would like to take your help to come up with the best way of implementing iteration in a process model.
Let us take an example:
An agent might send a list of applications to be processed. We would need to instantiate a process model which will process the applications. We've a flow service, lets say, 'createApplication' that can interact with webSphere EJB to create one application at a time. Therefore, either in the model or in a flow service, I need to loop through the input applications and invoke 'createApplication' multiple times. I can go forward with the next step in the process only if all the applications are created.
Could you please suggest the best way of doing it. The problem comes when first few applications are created and then server crashes or the service throws an exception because of EJB unavailability(webSphere going down). How can we resume with the non-processed applications?
Service resubmit starts with all the applications again. I'm afraid checkpoint services would be of costly in terms of performance and I'm worried about repository corruption if something goes wrong.
Best Regards
Sivaraj Lenin