This error is seen from vRA 8.17.0 onwards, when executing local system commands on the vRO server app via workflows utilising the JS script engine:
"This method is disabled for security reasons. 'Command' is deprecated and will be removed in future release"
Approvals for such activities with deprecated 'Command' are also marked with a red exclamation mark even if those were granted correctly.
VMware Aria Automation Orchestrator 8.17.0 or newer
A change was introduced in 8.17.0 to disable usage of the Command interface in javascript for security reasons.
This issue has now been resolved in 8.18.1
The Command method is deprecated and was removed from Aria Automation/Orchestrator due to potential security issues.
The method has now been added back but can be disabled if needed.
The permanent solution is to alter workflows so that they are not directly running commands via javascript, if at all possible.