Hi, I'm looking for a way to create a scheduled task in an automation script. The NuGet package apparently cannot be found in Visual Studio. Is this outdated?
"Skyline.DataMiner.Core.Scheduler.Automation"
Thank you!
Mohan Ramasamy Veerappan Answered question 3 days ago
Could anybody tell how can we use "paramLinked" parameter in the above script?
how can we pass value for paramLinked and how to retrieve that value in another automation script ? Is there any example please.
David Rid [DevOps Enabler] Edited comment 3 days ago

This is what needs to be typed into the linked parameter:
Specify the parameter number and whatever string value that should be assigned to it. ("START", "STOP" or the value of a nother param: $"{channel}")
If there are multiple values, just number them in the correct order.
_____________________________________________________________
string scriptName = "ExecuteBlackout";
string paramLinkedStart = "PARAMETER:1:START";
string paramLinkedStop = "PARAMETER:1:STOP";
string paramEventName = $"PARAMETER:2:{channel}";
string taskDescription = title;
_____________________________________________________________
new object[] // repeat actions
{
new string[]
{
"automation", // action type
scriptName, // name of automation script
paramLinkedStart,
paramEventName, // … other options & further linking can be added
"CHECKSETS:TRUE",
"DEFER:False", // run sync
},
},
new object[] {}, // final actions
};