07-15-2009 01:29 AM
Actually i want to pass the data (local variable) from my process model file to a client file. The client file only has the callbacks and those callbacks require some parameters as input which is available in local variables of my process model sequence file. I do not want to use Station Globals.
Please tell me any other way by which i can pass that data.
07-15-2009 09:28 AM
Which Locals do you want from the model. Every sequence has it's own Locals and there are a bunch of sequences in every process model. Do you want the entry point's Locals? A callback's Locals? Just one of the sequence's Locals? Some Models have way more entry points than others. What if your sequence file is ran with a different entry point?
One option is to create your own callback in the model and pass the data to it as parameters. Then add that callback to your client sequence file and get it out of the parameters.
If you simply want the entry point's locals and you are in your Main Sequence then you could use RunState.Caller.Locals.VariableName. This assumes you will use the same entry point every time you run that sequence file. Or assumes that every entry point you run has the same Local variable name.
Maybe there is an API method that exposes what you are looking for. What is your goal?
Regards,
07-15-2009 10:31 AM - edited 07-15-2009 10:33 AM
Hi,
If i want to share (local) data from one SequenceFile to another in my Projects. I use the queue steptype.
Another option would be using Station globals to share data.
or all Executions uses the same FileGlobals (important in Batch mode)
Juergen