Thanks very much for directions As I understood I should use something in order to derive the workflow ID. I put few system.outs in the actors this is what I got
Workflow1 (Container (hash = 20399020) and Workspace hash = 4760749) 1. Actor1 =24756334 2. Actor =13972310 Workflow2 (Container (hash = 8447190) and Workspace hash = 6760237) 1. Actor =1588061 2. Actor =3905310 In my sample both the workspace and the contianer is unique for workflow. But since workspace can be shared I am trying to use Container. Srinath Edward A. Lee wrote: > At 03:13 PM 3/10/2006, Tristan King wrote: > >> to be a bit more specific, i use the workspace().hashcode() function. >> but i'm not yet 100% sure if the hashcode of the workspace can change >> or whether it is definatly always different between workflows, so i've >> still got a bit of testing to do there. > > > Multiple models can exist in the same workspace, so the workspace > hashcode is definitely not unique. > > Edward > > > > ------------ > Edward A. Lee > Professor, Chair of the EE Division, Associate Chair of EECS > 231 Cory Hall, UC Berkeley, Berkeley, CA 94720 > phone: 510-642-0253 or 510-642-0455, fax: 510-642-2845 > eal at eecs.Berkeley.EDU, http://ptolemy.eecs.berkeley.edu/~eal

