I'm trying to work with a Loop Operator. So i created first the Loop Operator and added 5 operators. the loop operator should run Process.ApplBuchhaltungMTyp.size times.
x = Process[OpName].CurrentLoopIteration/
Process.Typ = Process.ApplBuchhaltungMTyp[x] // conatins either Service, Unixcmd, File
Process.CurrentBez = Process.ApplBuchhaltungMBez[x] // contains the service name, unix command or filename
Process.CurrentSer = Process.ApplBuchhaltungMSer[x] // Servername, applbuchhaltungMSer can have 1 to nn entries
Depending on Process.Typ, i created 3 Custom Ports. For each custom port i have a Operator (Service, ssh unix command, File Read (from the Process.Typ)
The contents can be:
Typ Process.CurrentSer Process.CurrentBez
File Server1 C:\\temp\\test.txt
Service Server2 TermService
Unixcmd Server3 apached stop
Thanks in advance.