can someone please shed some light on job creation priorities? I created a timerFired script to monitor a network share and identify possible jobs:
- get a list of XML files in this directory
- crawl through XML list
--- see if XML is in arrived state
----- check if PDFs referenced in XML are also there and in arrived state
----- read XML contents into dataset
----- create a job from the XML with job priority 10 (highest i use in my environment) and sendToSingle
----- crawl through referenced PDFs
------- create a job from each PDF attaching the dataset to it, priority set to -1, and sendToSingle
when i check the messages i can see that although i give the XML job the highest priority there are PDF jobs being worked on first. How can i make sure that the XMLs i made a job of are actually being sent off first? Or do i really need to createPathWithName first and s.copy/File.remove the XML file to make sure the script will never find the XML file during it's next execution?
Thanks for your insights and ideas on that
