Hi, i have saved the work flow in db.I have some doubt on the same
// Set up database connection. $db = ezcDbFactory::create( 'mysql://test:[EMAIL PROTECTED]/test' ); // Set up workflow definition storage (database). $definition = new ezcWorkflowDatabaseDefinitionStorage( $db ); // Load latest version of workflow named "Test". $workflow = $definition->loadByName( 'Test' ); $execution = new ezcWorkflowDatabaseExecution( $db ); // Pass workflow object to workflow executer. $execution->workflow = $workflow; // Start workflow execution. $id = $execution->start(); This code starts take a workflow(task) for execution am i correct.. Please provide me with some sample code for the following 1) what is the code to list the task waiting for a user to approve (what is the procedure to fetch the data from db) 2) So when u user approve How can I save the execution to db or update the db 3) If the user disapprove the none should end …How can I achieve that 4) Also how to get the current state of a work flow.. Please feel free to tell if I am wrong some where. I am using a simple php code for this process. Thanks Surej -- Components mailing list [email protected] http://lists.ez.no/mailman/listinfo/components
