I'm trying to pass a table index that has a space in it to an automation script to populate a variable. Here is an example...
Script:webclick||dmaID=222741;elementID=15;parameterNumber=406;tableIndex=Contol 32;parameterValue=1|||NoConfirmation,CloseWhenFinished,NoSetCheck
In the above - Control 32 - is the problem. I've tried to add double and single quotes around it but when I save they seem to get dropped leaving the above string that doesn't work.
Is it possible that your value is "Control 32" rather than "Contol 32" as the shape data would suggest?
Other than that I also see no problem with the shape data, other than the possible typo and also that I would suggest using the prefixes for the different parts as can be seen in one of the bullet points of our documentation.

From what I can tell in your exception, everything seems to be passed through to the script. So likely something is going wrong in the processing there rather than in Visio.
I updated the typo and received the same error and it did not perform the set either. This was from Cube. I'm sure the web would have the same result.
Element name Parameter description Value Time Root time
Script execution failure Script Failure (webclick): Last of 2 errors: (Code: 0x80131500) Skyline.DataMiner.Net.Exceptions.DataMinerException: Set Parameter ('_195***_15':406/*Control 32*) Failed: 0x80004005
at CManagedAutomation.RunWrapped(CManagedAutomation* , Int32 iCookie, IUnknown* pIAutomation, tagVARIANT* varParameters, tagVARIANT* pvarReturn, String scriptName)
at CManagedAutomation.Run(CManagedAutomation* , Int32 iCookie, Char* bstrScriptName, IUnknown* pIAutomation, tagVARIANT* varParameters, tagVARIANT* varEntryPoint, tagVARIANT* pvarReturn, tagVARIANT* pvarEntryPointResult) (CSharp; 0x80131500h): (see comment for more details) Today 1:34:10 PM Today 1:34:10 PM