David thanks for your reply. On 30 Set, 22:03, david <[email protected]> wrote: > Option 4 - can be a random string used for an id or an integer > representing state: 0 (default) not processed, -1 processed already and 1 > for pending. > Can there be more than 1 set of records pending at the same time?
No, only the boss can run the action, but of course, his connection can drop after receiving the PDF and before sending the OK or the CANCEL to process the records. So I think that I can use the state (setting the records to pending while generating the PDF), and define a new action to reset the state from "pending" to "not processed". If everithing go ok the user can send me the OK to process the records, or, if the connection drop, he can use the new action to reset to "not processed" the "pending" records. > > Option 5 is a bad idea - long running transactions are generally a bad > idea. Yup, you are right ;-(. Any idea about how I can show a pop up window from the action producing the pdf without make a redirect to an other form? Stefano --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
