Hi Nick,
That does help, and it gives me a few more ideas - thanks for that. Perhaps the proposed method still might cause issues. The series of events I am after are as follows:
1. Change State of assembly to released.
2. Run Custom Job X one time to create the folder structure, and run this first before moving on...
3. Run Custom Job Y to export the the files to the created folder structure (using the path to the directory from Custom Job X, passing as a parameter perhaps) for every part/subassembly in the released assembly. (Essentially, just do what you normally do after you run Custom Job X once).
There's more to the program than that, but that's the only part I am having troubles with.
If no matter what, Custom Job X will be submitted for every file that uses that lifecycle, then it sounds like I will be creating the folder structure and "walking the assembly tree" a number of times = the number of files changing state to released. So, I'll get (in some instances), 10x or more folder structures, which is the problem. All I need is one folder structure for that specific release.
If there's no way to specify to run Custom Job X once (and first in the queue), then it might be better just to create another button that creates the folder structure and adds the path to the file flag, and then Custom Job Y just reads the path over and over. Not as automated as I'd like (it leaves room for human error in that people may forget to click the button before releasing the assembly), but its enough for this job, maybe. Unless, there are other suggestions to help streamline this... I'm all ears!