i need get the operating system (windows, unix, etc.) from a touchpoint, How i can get thath, in Process automation 4.3 instaled on a windows Server 2012 r2
You can use script operator in a number of ways to pull information from the system.
For example >systeminfo returns a huge amount of information that could be parsed for the specifics you need.
Michael, thank for your answr, but this command (systeminfo) don't work on unix,
the idea is determinate the SO on the touchpoint to send the correct scrtipt to them using the unix path or windows path according to the output of the previous script.
The only way I am aware that you can get the Servers operating system is with a command line query. Maybe you could create a forked process, one with the *nix command, and one with the Windows command, then use an OR operator to rejoin those paths. That way whichever option works will advance the process.
but this is manage the error in case i send a unix command in a windows system
If you create a process that forks, with one operator that sends the Windows command, and One that sends the Unix command. If you then have an OR operator directly after that the process will move on regardless of the incorrect operator failing.
You could include the second script you mention before the Or operator, or you could have the process take a different path depending on the OS.
this process will fail if the windows server has a unix emulator (like cygwin) because the unix and the windows will response ok
If a command line query is not possible I am not sure what to suggest, maybe someone else will have an idea.
Can you create a list of the servers and the associated OS before hand and reference that to determine the path the overall instance should take?
Retrieving data ...