The SysOperationSandbox class provides a way to start a process that doesn't block the client. Any long-running process will show a message that states the system is busy and does not allow the user to cancel the process. The SysOperationSandbox allows a process to be started that the user can cancel, which causes the process to abort and roll back.
To do this, we need two static methods: one that initiates the process and one to act as a callback class that the framework will call to perform the desired action.
This is only suited to processes that we expect to take over a minute. We will adjust our vehicle group change class to make it use SysOperationSandbox.