automatically checked into the vault by dispatch

I want to copy files from folder A to folder B Check in the file automatically by Dispatch.

Copyfile is Success,but Check in is failure(No Check in).

SolidworksSolidworks Pdm enterprise Pdm