The Execute activity requires *.EXE files and *BAT scripts to be on a UNC path.
The data being returned must be valid XML characters. Any invalid characters (such as &, <, or >) will not return successfully and the workflow will route down the Failure branch. The XMLNode object type is not supported.
For example, you can use the Execute activity to retrieve customer information from a Web Service database and store this information in a custom variable for use within the workflow or to pass on to agents in a screen pop for enhanced customer service. You could also use the Execute activity to run a PowerShell script enabling an authorized caller to run remote maintenance on the IVR Routing server. You can configure the options and the process types for Execute activities.
For an example of an IVR Routing workflow that uses the Execute activity to execute PowerShell and perform a web service SOAP call to a publicly accessible web service, see the following Mitel Knowledge Base article: https://mitel.custhelp.com/app/answers/answer_view/a_ id/1000724/loc/en_US.
In most instances, a success return value indicates the process executed without errors, and the Success branch is followed. A failure return value indicates the process exited with errors and did not complete as expected, and the Failure branch is followed. If a success return value contains errors, it is recommended to map the return value to a variable and then use a Variable Compare activity to confirm if the output is a Success.