Ah, now I see. What you're looking for is a way to persist incomplete webflows. Well, in a *typical* webflow, you have 1 screen per table, where each screen is a new record/relationship. Each subsequent screen might use the previous screen's primary key (or composite, if necessary for the relationship) as it's foreign key. Using this idea, it would be quite easy to partially persist the webflow, to complete later. The only additional piece of data you need to track is the last save point. Take this (albeit contrived) example of the business process, which I mention in my previous post:
TABLE DEPT_TRANSFER EMP_ID DEPT_ID TRANSFER_DATE NEW_SALARY (NULL) 1. A manager requests a department transfer of an employee by going to the "Department Transfer" application of the company's HR application. 2. The first screen allows the manager to select an employee. (emp_id stored in session) 3. The second screen, a new department and date of transfer SAVE POINT (EMP_ID and DEPT_ID stored in the dept_transfer table) 4. The third screen allows the manager to determine whether the employee will get a pay increase as a result of the transfer SAVE POINT (NEW_SALARY saved in dept_transfer table) 5. The fourth screen allows the manager to commit/initiate the transfer. Here the business process is moved to some other table, to which the Workflow engine refers. There's a lot more minutia associated with the implementation but your save points could be added to the application at each point some DB relationship is made. On 8/31/06, fausto mancini <[EMAIL PROTECTED]> wrote:
I've worked with similar requirements for a project some times ago. it was a questionnaire (very long) and the user have the possibility to stop and resume even in different sessions... My solution was persistence; I saved data in a file (xml format) to achieve this goal (a database can do the same job). Anyway, I don't know if it's the best solution! On Thu, 31 Aug 2006, Joel Espinosa wrote: > Hi all, > > I want to do a struts based workflow. I need that the information captured > through the steps of this workflow persist in someway that if the user close > the browser next time the user login the info previously capturated shows up > in the same step in which the user left the app before. > > Another complex requirement is the user ability to follow the steps of the > workflow in two or more browser windows at the same time, if I use session's > objects to achieve this the user only be able to follow the workflow once per > session/browser. > > Could you point me in the right direction to achieve this? > > Thanks in advance. > Best regards. > > ps. The vesion of truts is not a problem I just started the project. > > -- > Ing. Joel Alejandro Espinosa Carra > Centro de TecnologĂa de Semiconductores > CINVESTAV Unidad Guadalajara > Tel. +52 (33) 3770-3700 ext. 1049 > http://www.gdl.cinvestav.mx > > > > -- > Este mensaje ha sido analizado por MailScanner > en busca de virus y otros contenidos peligrosos, > y se considera que está limpio. > MailScanner agradece a transtec Computers por su apoyo. > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]