I use this script to finish a file move action, hope it can help someone, which will move files from a temp inbox to Global Inbox:
- config smart rules,
- paste the apple script
tell application "Finder"
-- Path to the source folder
set sourceFolder to POSIX file "/Users/{YOUR_USERNAME}/Documents/Devonthink Import Inbox/" as alias
-- Path to the destination folder
set destinationFolder to POSIX file "/Users/{YOUR_USERNAME}/Library/Application Support/DEVONthink 3/Inbox" as alias
-- Retrieve all items in the source folder
set itemsToMove to every item of sourceFolder
-- Loop through each item and move it to the destination folder
repeat with anItem in itemsToMove
move anItem to destinationFolder with replacing
end repeat
end tell