I wrote a dispatch routing to check the filenames before transitioning the files to ISSUED. The requirement is that the filename start with the project number. If they succeed, it seems to work every time, but if it fails, it only works every other time. I can't figure out why? I am on SWX2012 SP5, and EPDM 2013.
Here is a ridiculously small picture of my script, but there is also a copy of the picture in Attached files. I also put a copy of the dispatch routine in attached files.
Hi Karen,
I've had this exact issue...
https://forum.solidworks.com/message/268716#268716
I created a workaround... Run the "check" twice in the Dispatch script.
The first line of the Dispatch script sets a registry key to "0". I then Jump over the next section (that sets the registry key to "1"). The following part of the script does the checks and at the end of the checks I test the registry key - if it is "0" I Jump back to the second section that sets the registry key to "1" and then runs the checks...
We shouldn't have to do this but I got almost zero action from my "VAR" / SolidWorks.
Tim