Hi Dojo,
It's related with the following topic, could you please let me know how to set memory files with IDmsAutomationScript.Execute() API?
I want to call automation script from connector with dummies/parameters/memory files and want to get script output.
Hi Hideyuki,
Setting memory files is currently not supported in that API, you can ask to support it by create a new feature suggestion
For dummies and parameters you can use the following code:
var script = protocol.GetDms().GetScript("Script Name");
var parameters = new DmsAutomationScriptParamValue[] { new DmsAutomationScriptParamValue("Param 1", "Value 1") };
var dummies = new DmsAutomationScriptDummyValue[] { new DmsAutomationScriptDummyValue("Dummy 1", new DmsElementId("agentId/elementId")) };
var result = script.Execute(parameters, dummies);
var scriptOutput = result.ScriptOutput;
Hi Jorge,
Thank you for the comment.
I added this request as follows.
https://community.dataminer.services/new-feature-suggestions/handle-memory-files-in-idmsautomationscript/