If a workflow has an error it write it on the interface something like that:
Content Server Error: Error performing Workflow operation.
[An item with the name XXXXXXXX already exists.]
How can I generate the same behaviour via Oscript? I mean I would return an errror string from my function?