Dispatch Auto-Check In after updating a variable

Hey,

So I have been working on EPDM for a couple months now and have been using Dispatch to help with a few little things.  I am working on a way to simply change the contents of a variable then check the file back into the vault. 

So far I have this:

Which allows me to check out the files selected, change the variable, but will not check the file back in. I keep getting an error that says: "Error checking in file; The file could not be found."  Everything else seems to work fine if i choose not to check the file back in.

Also I am able to right-click and check the file in manually just fine.  It just doesn't work through Dispatch.

I hope I am just missing something.  Thanks in advance for the help!

SolidworksSolidworks Pdm enterprise Pdm