When we create Bulkoperations with devices over the filter funktion. Cumulocity creates a Bulkoperations Group in the background. This Groups are not deleted automatically and remain on the plattform till the Groups are deleted manuelly. When Bulkoperation are deleted the Groups are still available so the groups could not be assigned to the correspondend Bulkoperation. There is a Retention Rule which deletes Bulkoperation over a timeperiod but not Bulkoperation Goups. It would be clearer to have the groups deleted so the overwiev of the groups would be easier and we would have only the Bulkoperation Groups in use.
Hi,
sorry for my delayed response. We do agree that it would be beneficial to clean-up bulk operation groups once the operation itself is deleted and added this to the list of future improvements. Until this is implemented, you can use the go-c8y-cli (https://goc8ycli.netlify.app) to clean-up your smart groups. You can use the command c8y smartgroups list to get an overview of existing bulk operation groups and c8y smartgroups delete --id 12345 to delete a particular smart group. You can also add filter criteria (https://goc8ycli.netlify.app/docs/concepts/filtering/) like datelte to only list smart groups that were created before a specific point of time. I hope that helps.
Best regards,
Aaron
Thank you for your feedback! I will bring this up in one of our next meetings.