Hi Roy,
Just to clarify;
You have a selection of sequences, do these sequences live in the same Sequence File or are they seperate?You want to group all these selected sequences together into one sequence in a new sequence file, dynamically created, then run the newly created sequence.
If all the sequences live in the same sequencefile which is already loaded, then all you need to do is use your selection and pass this to the interactive execution. Have a look at 'Starting an Interactive Execution' in the Reference Help. But probably you what to use the UI Controls so the SequenceFileViewMgr is a good start. This will allow you to setup an Argument List from the selected steps in the sequence view. But by the sounds of it your selection in not in the SequenceView control, is this correct?
If your sequences are in separate sequence files, then you need to load those sequencefiles, clone the relevant steps from the sequence files and place in a new Sequence (Sequence File) and execute, when you are finished release that newly created sequence/ sequence file. This you dont need to run as an Interactive Execution but your top level sequence must be called MainSequence in the new sequence file, if you what to run it with the process model.
Regards
Ray Farmer