Hi.
I’m making an integration where I add the login details to the other system’s server in the management client. After it’s been saved as a new item, the background plugin gets it and establishes a connection. The first time, it’ll get various items from the server and it saves them as items in the Milestone configuration so that I can use them in rules and actions. While that’s going on, the event server log prints out several lines with this:
StatusSessionServer SetCustomSettingDataGlobal failed. Data was modified by other user.
Apparently I’m doing something I’m not supposed to, but I don’t get what that error message means. Last time I ran the plugin, it seemed to save all items just fine except for one which came up when I manually queried the Central.Items database table, but it was marked as deleted. There’s obviously something that’s not working. What would be the correct way to do this?
The reason why I’m doing it from the background plugin is because every concurrent connection to the server requires a costly client license so I’d like to keep it to one connection. Ideally, the background plugin would establish just one connection, grab the configuration, and then listen to events and configuration updates.