SET_UC_SETTING works only for the Agents assigned to the Client

Discussion created by KarthikMalali604894 on Oct 18, 2015
Latest reply on Oct 20, 2015 by KarthikMalali604894
We use the below below statement to reduce the resources to 0 for our SAP System Agents.
The script will be called by our SAP Application team using a Call API connectivity, before they start a Maintenance on SAP.
At the end of the Maintenance, they call another Script with below statement so the Agent's resources are reset.
However this Script function will not be effective for an Agent that is not assigned to the Client !!
Is there a way to make this Script function work regardless of the Agent's assignment to the client ?