I want to automatically add specific SWSD Group to the CC line of an incident when the "Site" value changes. Is there anyway can you this please
There are a couple of ways at least that you can do this, API/SDK/SWQL Studio would be one.
SDK: https://github.com/solarwinds/OrionSDK
https://support.solarwinds.com/SuccessCenter/s/article/Orion-SDK?language=en_US
Another option would be to set up SQL update scripts with the conditions in place that are needed, then schedule these to run either by task manager or run an external application (sqlcmd) thus triggered by an alert when the SITE CP value changes, then sqlcmd.exe runs to check data and set value of the other CP holding the Email addresses.
The key here with either process is having your emails offset in a custom property and called by variable in the alert email action. So if you do not have a custom property in place to hold the email recipients (Alert_Email or another recognizable name), you would need to create that first to enable this effort.
-CharlesH
Loop1 Systems: SolarWinds Training and Professional Services