There's a large number of hotfixes to the automation process for versions past 8.1.4, i would go to the Download section, check hotfixes and search "Automation" and a large list is there, you may want to consider hotfixing and upgrading your instance and see if that fixes things first!