Receive info for a process instance
Monique Maker <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <[email protected]> |
Hello Shark team, We have a process with (lets say) two steps: - Step A generates a document - Step B allows the user to retrieve the generated document (the real process is more complicated). We implement a light user interface that instantiates and starts a document generation process and periodically checks if the document has been generated (i.e. activity A completed, activity B is ready to be executed). If the document has been generated, the interface retrieves the generated document (executes and completes activity B). In order to keep the interface quick and light we just check in the Workflow Relevant Data if a result document URL variable is set by activity A. We thought that this is a very light operation, whereas retrieval of the process instance and checking its activities, seemed to be a "tough" operation. Our problem comes when the application tries to retrieve the value of mentioned WRD - Shark waits for activity A to finish (if it is still running) inside the application thread and it seems that within this "light" operation, Shark tries to run any automatic activities available. This makes the user interface slow and difficult to use. We would like to know if there is any way to receive information about process' (or activity) state and its results without letting Shark to recalculate process(es) state inside the query thread. Best Regards, Monique
message-footer.txt
(text/plain, 271 B)
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws