Skip to main content
11-Garnet
May 26, 2023
Solved

How to remove Alerts without its property in Thingworx

  • May 26, 2023
  • 1 reply
  • 2251 views

Hi ,

 

I found some Remote bound Things having alerts without properties in 8.4 version of thingworx.

The Alerts were created and then someone deleted its  property. And now that alert is not getting deleted.

 

This ghost Alert is not allowing us to migrate this entity from one platform to another.

 

Is there any method or workaround to delete this Alert ?

 

Regards,

Sri

 

 

 

 

 

Best answer by SV_10197221

Hi Jens,

 

I tried another method and the issue got resolved!.

I didn't edit the xml file. But I got the name of the deleted property for that alert.

Then in the composer, I added that deleted property newly in that thing and saved it.

That ghost alert automatically got deleted ! 

 

Thanks for your suggestions Jens

 

Thanks and Regards,

Sri

1 reply

17-Peridot
May 26, 2023

Hello,

 

If the alert isn't showing in the composer, the only option I can think of would be to export the thing (for source control) and removing any alert information directly from the XML.

 

Regards,

Jens

11-Garnet
May 26, 2023

Hi Jens,

 

They are visible in composer. I tried to select them and delete, but its not working. 

Will removing from XML work in this case?

Are there any workarounds where we can go and delete some entries in the database?

 

alerts.PNG

 

Thanks and Regards,

Sri

17-Peridot
May 26, 2023

Hello,

 

Yes, I think that should work. You would of course have to re-import the entity again after making the change in your XML file.

You could probably as you say delete some entries in the database, but this will likely be a bigger job as you first would have to find which table it is in.

And even if you find one table, there is no telling if there are any relations that might have to be removed and such.

 

So yeah, my first suggestion would be to do the change to your XML.

Worst case scenario, you would have to export the entity, delete it from the platform, do the change in the XML you want and then import it again.

 

But I think you should be able to skip the deleting of entity part.

 

Regards,

Jens