I am trying to find a way to set the "Workflow error notifications" settings via Code or Script (_layouts/15/NintexWorkflow/ErrorNotifications.aspx?scope=web) on a SharePoint 2016 onPrem.
We have multiple sites, that have different email addresses, that the error notifications have to be sent to.
As the site creation is automated, I need a way to set those values via Code (c# or powershell).
I already looked into the nwadmin.exe tool and the Configure Settings Option, but the “NintexWorkflowSetup.xsd" doesn't seem to mention any entry about Workflow error notifications.
Any ideas how I could achieve this ?