I am currently using Cumulocity Free Trial and I want to generate and obtain the state of the RELAY CONTROL widget.
Although the operation is generated (as can be seen in the image), it is also observed that the ID changes with each new action on the Relay.
How could I know the current status of the operation if the ID is always changing?
operations just tell the device to execute something. In your case it would be to set the relay to a certain status (Hardware). Also the device has to set the fragment in the ManagedObject to persist to the current status.