When I use the BO Automation interface to submit a document to Broadcast Agent (5.01), BCA returns an error messge: “(2147549183) undefined error” when it tries to run the task.
When I submit the task through BO itself, the BCA executes the task with no problem.
Anyone used VBA to submit tasks under 5.01?
Kevin Charleston
SA Container Depots
Cape Town
South Africa
When a document is submitted with a custom script through the user module, the script is shown in the console as:
[docname.rep!scriptname]
When submitting a document with a custom script through the automation interface, set the DocAgent.CustomScript property to “docname.rep!modulename.scriptname”. This executes the script correctly, but does show in the console:
[docname.rep!modulename.scriptname]
setting the Docagent.Customscript property to just “docname.rep!scriptname” returns the error below.
BCA returns an error message: “(2147549183) undefined error”
I found this when I discovered that BO creates a BcsScpt.spt file when you submit a document to BCA (either through the user module or through the automation interface).
This file looks interesting - it appears to be a script which is built on the fly and is submitted with your document to Broadcast Agent. It seems to make use of some undocumented properties on the Application object.
Kevin Charleston
SA Container Depots
Cape Town
South Africa