hi,
is it possible to get the standard connection properties in a node script?
i need to find out if the "Carry this type of jobs" log connection is used, so i can create a log file only when the log is requested.
the properties list of the connection is empty
{"_id":"28.6382","_name":"Folder 148","_sesUrl":"http://127.0.0.1:51120","_token":"4f628159acfe65131e1488b73c919a021dfc9de896a8eb3a7911448079d27f48","_properties":{"_properties":[],"_isLocal":true}}
getting out connection properties
getting out connection properties
- Attachments
-
- outConnectionsProperties.PNG (4.34 KiB) Viewed 3252 times
Re: getting out connection properties
That is not possible but it is also not really necessary: you can always create a logfile and send it to log. If there is no log connection there will be a warning message, but that is all. And when the user defines "Job with log" the sendToLog result is automatically attached as a dataset.
Re: getting out connection properties
ok,
Thanks for the info.
Thanks for the info.
Re: getting out connection properties
To add to Freddy's answer you can use the Get Messages app to get just that error message and use it for different ways to announce it to you.