I am wanting to move competed Engineering Change forms to a folders labeled complete once they have reached a certain state in the workflow. That way the only files in the original folder are files that are currently being changed. Is there a way to do this?
You can accomplish this by using Dispatch. The only problem I have found doing it this way is that there is no 'move' command built in. Instead you have to use the 'copy' command and the the 'delete' command before checking the 'moved' file in. When using this approach you lose the history on the file This may or may not be a big deal to you. I am working on some custom executables using the API to see if I can come up with a cleaner way of accomplishing the file movement so that the history is maintained. If you choose to try Dispatch you will more than likely create a script with the following sequences
Check the box labeled 'During state transition' and then click the Conditions box right next to it to select the workflow state you want the event to trigger on. Then you will add the following commands.
FOR ALL DOCUMENTS
CREATE FOLDER
COPY FILE
DELETE FILE <-- The original that you made the copy from
CHECK IN FILE
END FOR ALL DOCUMENTS
You will also want to press the variables button and set variables to move the card data you are wanting to transfer as well.