could someone help me with a hierarchy problem?
I'll try to describe the situation:
We use a MAM for working on our jobs and storing them in the MAM database
We need to import files into the MAM-jobs via SOAP and a hotfolder.
What I get is a folder named as the jobnumber, and various subfolders with the delivered files.
First I need to check in the MAM database, if there is a job with this jobnumber already, if not create one (all via SOAP in a Switch Script) The trigger for that is the topfolder, so I need the first folder as a switch job.
Then the script in switch should create groups in the MAM database job, in the same structure as the subfolders in the incoming folder After that a switch script create a controlfile for every file to import them in the database via a MAM hotfolder.
So in one hand I need the main folder as a trigger for creating the MAM databasejob via SOAP, the subfolders for creating the jobgroups in this MAM databasejob, but on the other hand that all files for importing them in the databasejob in the belonging jobgroup
The main problem is to get all hierarchy information from the folder structure, but also leave the job folder as it is.
In the "submit hierarchy" the settings for "subfolder-level" has to be "0" and the "attach hierarchy information - subfolder-level" has to be "5".
But this doesn't work

I hope, I'd explained that it is clear for you...
Thanks for your help!
Michael